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

David Chelimsky dchelimsky at gmail.com
Sun Feb 21 18:50:19 EST 2010

On Sun, Feb 21, 2010 at 5:25 PM, drewB <dbatshaw at gmail.com> 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?

What versions of rails, rspec, and ruby are you using? Also, where is
the file in question and how are you running it?

More information about the rspec-users mailing list