[rspec-users] undefined method `has' in integration test

drewB dbatshaw at gmail.com
Sun Feb 21 18:25:50 EST 2010


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?

Thanks!


More information about the rspec-users mailing list