Rollback to aeson 0.8.0.2 to allow building with stackage, and adds stack.yml

This commit is contained in:
Diogo Biazus
2015-08-20 15:50:28 -04:00
parent 6c1233fcec
commit f9d50018d9
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ spec = afterAll_ resetDb $ around withApp $ do
it "fails with 400 and error" $
post "/simple_pk" "}{ x = 2"
`shouldRespondWith` ResponseMatcher {
matchBody = Just [json| {"message":"Failed to parse JSON payload. Failed reading: not a valid json value"} |]
matchBody = Just [json| {"message":"Failed to parse JSON payload. Failed reading: satisfy"} |]
, matchStatus = 400
, matchHeaders = []
}