On Sun, Feb 21, 2010 at 9:25 PM, drewB <[email protected]> wrote: > Whenever I use a matcher like response.should have_text in an > integration test I receive the following error: > > undefined method `has' for #<ActionController::Integration::Session: > 0x7fe07d184038> > > Any idea why that is and how to fix it?
I think—not sure—those matchers are provided by webrat, so probably you're not requiring it? > Thanks! > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
