On Jan 13, 10:36 am, Kurt <[email protected]> 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...

response.body.should match(/../)

it is the standard text regexp match.

also

response.body.should =~ /.../

should work too.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to