App has database pools!

This commit is contained in:
Adam C. Baker
2014-10-17 17:16:41 -07:00
parent 49f0bf7c3f
commit 0798cb81a6
4 changed files with 8 additions and 19 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ spec = around appWithFixture $ do
it "fails with 400 and error" $
post "/simple_pk" "}{ x = 2"
`shouldRespondWith` ResponseMatcher {
matchBody = Just [json| {"error":"Failed to parse JSON payload. Failed reading: satisfy"} |]
matchBody = Just [json| {"error":"Failed to parse JSON payload. Failed reading: satisfyElem"} |]
, matchStatus = 400
, matchHeaders = []
}