Velocipede's User, Sales, and Bike Inventory Web App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
264 B

12 years ago
step "I login with email :email and password :password" do |email, password|
visit new_user_session_path
fill_in 'Email', :with => email
fill_in 'Password', :with => password
click_button 'Sign in'
page.should have_content("Signed in successfully.")
end