[rspec-users] response.should have_content("1 movie") does not seem to work for me

David Chelimsky dchelimsky at gmail.com
Fri Jun 22 13:18:02 UTC 2012

On Fri, Jun 22, 2012 at 4:36 AM, Joshua Muheim <lists at ruby-forum.com> wrote:
> It seems I have to use
> page.should have_content("...")
> instead of
> response.should have_content("...")
> Maybe that's because Capybara is the default engine now and not Webrat?

While Capybara seems to have become the de facto standard, there is no
default (you have to configure one or the other in your app).

> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list