Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-25 18:10:14 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-25 18:10:14 +0400
commit9d92433a7c83432657faf4c02839bba1ba6f22ac (patch)
tree1b3ab9210534b9074d35b7307cc1801dc870e548 /spec/support/login_helpers.rb
parent1496c01521b46265660de72209fd81b585639bcf (diff)
login with both email or username
Diffstat (limited to 'spec/support/login_helpers.rb')
-rw-r--r--spec/support/login_helpers.rb2
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