Merge pull request #83 from begriffs/404
Issue 404 for nonexistent tables
This commit is contained in:
@@ -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" $
|
||||
|
||||
|
||||
Reference in New Issue
Block a user