* fix admin tests
This commit is contained in:
parent
edc805e442
commit
90ec0b3f1a
|
|
@ -8,7 +8,7 @@ def sign_in(user)
|
|||
visit new_user_session_path # login page
|
||||
fill_in "Email", with: user.email
|
||||
fill_in "Password", with: user.password
|
||||
click_button "Sign in"
|
||||
click_button "Log in"
|
||||
|
||||
# Sign in when not using Capybara as well.
|
||||
#cookie_jar[:remember_token] = user.remember_token
|
||||
|
|
|
|||
Loading…
Reference in New Issue