Jun08 have_regexp custom matcher to check page content post author
When writing expectations on pages I like to keep them loose so they break less. I normally use the have_text matcher and I can even get looser using regexps matching but even that can break due to line breaks introduced by rendering. This is what it should be in a perfect world:
Continue reading »