summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-29 12:00:12 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-15 08:28:53 +0200
commit091f4cb26a79bf20542f5e260d461a235ec85011 (patch)
tree0691893e5af7944f17c025d5279ca9950283326e
parentc2766614ddc04b8df54fe8649d1dbe516f532987 (diff)
downloadgitlab-ce-091f4cb26a79bf20542f5e260d461a235ec85011.tar.gz
Update filled in field for two_factor auth to use id.
-rw-r--r--spec/features/login_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb
index 2523b4b7898..996f39ea06d 100644
--- a/spec/features/login_spec.rb
+++ b/spec/features/login_spec.rb
@@ -29,7 +29,7 @@ feature 'Login', feature: true do
describe 'with two-factor authentication' do
def enter_code(code)
- fill_in 'Two-Factor Authentication code', with: code
+ fill_in 'user_otp_attempt', with: code
click_button 'Verify code'
end