1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
BikeShed-1/spec/acceptance/steps/login_steps.rb
Jason Denney aa3ed3d43b git init
2012-12-04 00:46:15 -05:00

8 lines
264 B
Ruby

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