Update filled in field for two_factor auth to use id.

This commit is contained in:
Bryce Johnson 2016-09-29 12:00:12 +02:00
parent c2766614dd
commit 091f4cb26a
1 changed files with 1 additions and 1 deletions

View File

@ -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