Add since tag

This commit is contained in:
Amitaibu 2016-09-01 14:20:29 +03:00
parent ac0229dff0
commit 6ddfd07032

View File

@ -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) $