diff --git a/yesod-test/ChangeLog.md b/yesod-test/ChangeLog.md index f3b2b3a6..a9c52aa4 100644 --- a/yesod-test/ChangeLog.md +++ b/yesod-test/ChangeLog.md @@ -1,3 +1,7 @@ +## 1.5.1.1 + +* Fix `addToken_` needing a trailing space and allows multiples spaces in css selector. + ## 1.5.1.0 * Better error provenance for stuff invoking withResponse' [#1191](https://github.com/yesodweb/yesod/pull/1191) diff --git a/yesod-test/test/main.hs b/yesod-test/test/main.hs index 9956ca82..d97d5339 100644 --- a/yesod-test/test/main.hs +++ b/yesod-test/test/main.hs @@ -140,7 +140,7 @@ main = hspec $ do htmlAnyContain "p" "World" htmlAnyContain "p" "Moon" htmlNoneContain "p" "Sun" - yit "CSRF token" $ do + yit "finds the CSRF token by css selector" $ do get ("/form" :: Text) statusIs 200 diff --git a/yesod-test/yesod-test.cabal b/yesod-test/yesod-test.cabal index 9f2ee0da..0a65ce07 100644 --- a/yesod-test/yesod-test.cabal +++ b/yesod-test/yesod-test.cabal @@ -1,5 +1,5 @@ name: yesod-test -version: 1.5.1.0 +version: 1.5.1.1 license: MIT license-file: LICENSE author: Nubis