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

2012-06-22 Thread David Chelimsky
On Fri, Jun 22, 2012 at 4:36 AM, Joshua Muheim 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 st

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

2012-06-22 Thread Joshua Muheim
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? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspe

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

2012-06-15 Thread Justin Ko
On Jun 14, 2012, at 1:40 AM, Joshua Muheim wrote: > Hey everybody > > I have worked quite to near the end of The RSpec Book, but now I'm > having some troubles. > > I'm trying to get the last few Cucumber steps to work, which are: > > Then /^Caddyshack should be in the Comedy genre$/ do > vis

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

2012-06-14 Thread Joshua Muheim
Hey everybody I have worked quite to near the end of The RSpec Book, but now I'm having some troubles. I'm trying to get the last few Cucumber steps to work, which are: Then /^Caddyshack should be in the Comedy genre$/ do visit genres_path click_link "Comedy" save_and_open_page response.