On Jan 13, 10:36 am, Kurt <k...@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... response.body.should match(/../) it is the standard text regexp match. also response.body.should =~ /.../ should work too. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users