Displaying 1 result from an estimated 1 matches for "genres_path".
2012 Jun 14
3
response.should have_content("1 movie") does not seem to work for me
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.should have_content("1 movie")
response.should have_content("Caddyshack")
end
So far everything''s working, but the have_content("1 movie") doesn''t,
although I have hard-coded the strin...