reifyhealth / specmonstah

Specmonstah will eat the face off your test fixtures
MIT License
359 stars 18 forks source link

throw helpful exception specifying a relation that doesn't exist #5

Closed flyingmachine closed 7 years ago

flyingmachine commented 7 years ago

You shouldn't be allowed to run queries that refer to relations that don't exist. Previously, an obscure, unhelpful exception would be thrown. This change handles this exception in a way that makes it easy to debug the error.