From 6ddfd07032e4504adba20f6be6b8cd79336ca1a3 Mon Sep 17 00:00:00 2001 From: Amitaibu Date: Thu, 1 Sep 2016 14:20:29 +0300 Subject: [PATCH] Add since tag --- yesod-test/Yesod/Test.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/yesod-test/Yesod/Test.hs b/yesod-test/Yesod/Test.hs index 664359bf..6ef46285 100644 --- a/yesod-test/Yesod/Test.hs +++ b/yesod-test/Yesod/Test.hs @@ -398,6 +398,7 @@ bodyContains text = withResponse $ \ res -> -- | Assert the last response doesn't have the given text. The check is performed using the response -- body in full text form. +-- @since 1.5.3 bodyNotContains :: String -> YesodExample site () bodyNotContains text = withResponse $ \ res -> liftIO $ HUnit.assertBool ("Expected body not to contain " ++ text) $