Merge pull request #83 from begriffs/404

Issue 404 for nonexistent tables
This commit is contained in:
Joe Nelson
2014-10-14 19:02:06 -07:00
2 changed files with 9 additions and 5 deletions
+4
View File
@@ -9,6 +9,10 @@ import SpecHelper
spec :: Spec
spec = around appWithFixture $ do
describe "Querying a nonexistent table" $
it "causes a 404" $
get "/faketable" `shouldRespondWith` 404
describe "Filtering response" $
context "column equality" $