diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-25 18:10:14 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-25 18:10:14 +0400 |
commit | 9d92433a7c83432657faf4c02839bba1ba6f22ac (patch) | |
tree | 1b3ab9210534b9074d35b7307cc1801dc870e548 /spec/support | |
parent | 1496c01521b46265660de72209fd81b585639bcf (diff) |
login with both email or username
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/login_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb index 4579c971d47..d423ccf8a10 100644 --- a/spec/support/login_helpers.rb +++ b/spec/support/login_helpers.rb @@ -12,7 +12,7 @@ module LoginHelpers # user - User instance to login with def login_with(user) visit new_user_session_path - fill_in "user_email", with: user.email + fill_in "user_login", with: user.email fill_in "user_password", with: "123456" click_button "Sign in" end |