Behat/Mink — pull request #317 by manuinsfx (2013-03-20 20:28:42+00:00)
Title: Consistent handling of whitespaces in WebAssert::pageText[Not]Contains()

I came across the issue, that multiple whitespace characters between words would make a step like the following fail, although from a user point of view it should pass.

Then I should see "Some text"

My suggested fix is to convert all whitespaces to a single space character before comparing with the expected text.