From 4cf51b70058d664e63872b9b17a79bc31f17f4e3 Mon Sep 17 00:00:00 2001 From: Richard Allaway Date: Mon, 17 Aug 2015 11:10:04 -0400 Subject: [PATCH] fixes spec for changed error message from updated aeson library --- test/Feature/InsertSpec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Feature/InsertSpec.hs b/test/Feature/InsertSpec.hs index ea6badbb2..d047e70a9 100644 --- a/test/Feature/InsertSpec.hs +++ b/test/Feature/InsertSpec.hs @@ -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: satisfy"} |] + matchBody = Just [json| {"message":"Failed to parse JSON payload. Failed reading: not a valid json value"} |] , matchStatus = 400 , matchHeaders = [] }