[rspec-users] Notes on upgrading from RSpec 1 to RSpec 2
wolfmanjm at gmail.com
Thu Jan 13 15:35:16 EST 2011
On Jan 13, 10:36 am, Kurt <k... at cissor.com> wrote:
> Hi -- Thanks for sharing all your tips. I couldn't understand your
> line about what replaces have_text, however. I don't see a method
> called "matches" or "match"...
Sorry that should be...
it is the standard text regexp match.
response.body.should =~ /.../
should work too.
More information about the rspec-users