Issue 404 for nonexistent tables

Fixes #44
This commit is contained in:
Joe Nelson
2014-10-14 18:58:55 -07:00
parent 36b62de998
commit 93c573ab4f
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" $