Displaying 1 result from an estimated 1 matches for "user_list_path".
2010 Dec 20
1
Check whether link present nor not using cucumber
...uot;, :with=>password
click_button "Log in"
# File.open("response.html", ''w'') {|f| f.write( response.body) }
# response.should contain("Logged in successfully")
end
Then /^"([^"]*)" link should be shown$/ do |arg1|
clicks_link user_list_path
#pending # express the regexp above with the code you wish you had
end
My problem is 2nd step:-
Could not find link with text or title or id "/user-list"
(Webrat::NotFoundError)
features/admin.feature:5:in `Then "Users" link should be shown''
Failing Scenarios:
cucum...