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
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
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
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.