* fix admin tests

This commit is contained in:
Seth Call 2014-08-13 15:32:51 -05:00
parent edc805e442
commit 90ec0b3f1a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ def sign_in(user)
visit new_user_session_path # login page visit new_user_session_path # login page
fill_in "Email", with: user.email fill_in "Email", with: user.email
fill_in "Password", with: user.password fill_in "Password", with: user.password
click_button "Sign in" click_button "Log in"
# Sign in when not using Capybara as well. # Sign in when not using Capybara as well.
#cookie_jar[:remember_token] = user.remember_token #cookie_jar[:remember_token] = user.remember_token