Test failed post, and clean up specs

This commit is contained in:
Joe Nelson
2014-08-25 17:27:21 -07:00
parent 93e38dd20d
commit eef7860922
4 changed files with 41 additions and 69 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ spec = around appWithFixture $ do
describe "GET /" $
it "lists views in schema" $
get "/" `shouldRespondWith`
[json| [{"schema":"1","name":"auto_incrementing_pk","insertable":true}] |]
[json| [
{"schema":"1","name":"auto_incrementing_pk","insertable":true},
{"schema":"1","name":"contacts","insertable":true}]
|]
{matchStatus = 200}
describe "Table info" $