Fix options on non existant tables, closes #442

This commit is contained in:
calebmer
2016-02-03 11:20:45 -08:00
committed by Joe Nelson
parent 945ef61188
commit 33757e537b
3 changed files with 16 additions and 9 deletions
+3
View File
@@ -320,3 +320,6 @@ spec struct c = around (withApp cfgDefault struct c) $ do
]
}
|]
it "errors for non existant tables" $
request methodOptions "/dne" [] "" `shouldRespondWith` 404