diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-23 17:23:42 -0800 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-23 17:56:18 -0800 |
commit | fcab1345da15020e5bf31055f52f9634fa8dd3ae (patch) | |
tree | a2a701220774989107af766be8b61ce39b9d3751 /spec/features | |
parent | 5409fc49bd7fb1e24f048ec5b8931b216b6ceda8 (diff) | |
download | gitlab-ce-fcab1345da15020e5bf31055f52f9634fa8dd3ae.tar.gz |
Update wording for 2FA requirement noticers-2fa-requirement-wording
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/login_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb index 2451e56fe7c..dac9205449a 100644 --- a/spec/features/login_spec.rb +++ b/spec/features/login_spec.rb @@ -112,10 +112,10 @@ feature 'Login', feature: true do context 'within the grace period' do it 'redirects to two-factor configuration page' do expect(current_path).to eq new_profile_two_factor_auth_path - expect(page).to have_content('You must configure Two-Factor Authentication in your account until') + expect(page).to have_content('You must enable Two-factor Authentication for your account before') end - it 'two-factor configuration is skippable' do + it 'disallows skipping two-factor configuration' do expect(current_path).to eq new_profile_two_factor_auth_path click_link 'Configure it later' @@ -128,10 +128,10 @@ feature 'Login', feature: true do it 'redirects to two-factor configuration page' do expect(current_path).to eq new_profile_two_factor_auth_path - expect(page).to have_content('You must configure Two-Factor Authentication in your account.') + expect(page).to have_content('You must enable Two-factor Authentication for your account.') end - it 'two-factor configuration is not skippable' do + it 'disallows skipping two-factor configuration' do expect(current_path).to eq new_profile_two_factor_auth_path expect(page).not_to have_link('Configure it later') end @@ -146,7 +146,7 @@ feature 'Login', feature: true do it 'redirects to two-factor configuration page' do expect(current_path).to eq new_profile_two_factor_auth_path - expect(page).to have_content('You must configure Two-Factor Authentication in your account.') + expect(page).to have_content('You must enable Two-factor Authentication for your account.') end end end |