restore test

This commit is contained in:
Adam C. Baker
2014-10-17 17:28:06 -07:00
parent 0798cb81a6
commit 2773ef3030
+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: satisfyElem"} |]
matchBody = Just [json| {"error":"Failed to parse JSON payload. Failed reading: satisfy"} |]
, matchStatus = 400
, matchHeaders = []
}