spec/support/features/session_helpers.rb in blacklight-4.7.0 vs spec/support/features/session_helpers.rb in blacklight-4.8.0
- old
+ new
@@ -12,11 +12,11 @@
def sign_in(login = 'user1')
email = "#{login}@#{login}.com"
user = User.create(:email => email, :password => "password", :password_confirmation => "password")
visit new_user_session_path
- fill_in("user_email", :with => email)
- fill_in("user_password", :with => "password")
- click_button("Sign in")
+ fill_in("user_email", :with => email)
+ fill_in("user_password", :with => "password")
+ click_button("Log in")
end
end
end