search for: neova123

Displaying 1 result from an estimated 1 matches for "neova123".

2011 Mar 21
1
Getting user session object in cucumber
...e as follows:- Given /^user on (.+)$/ do |page_name| visit path_to(page_name) end When /^user login with valid credentials$/ do fill_in(''Email'', :with=>"john_rennie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org") fill_in(''Password'', :with=>"neova123") click_button("Login") end Then /^user should be on project (.+)$/ do |page_name| current_path = URI.parse(current_url).path if current_path.respond_to? :should current_path.should == path_to(page_name) else assert_equal path_to(page_name), current_path end end W...