summaryrefslogtreecommitdiff
path: root/spec/features/u2f_spec.rb
diff options
context:
space:
mode:
authorMarc Schwede <schwedenmut@googlemail.com>2018-10-04 22:04:49 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-10-04 22:04:49 +0000
commitca665d01e6a7f94fe75ef537577d3aecb2984d17 (patch)
treeb60aedb5788d9f966f3f781ee55f2b6ac230bc91 /spec/features/u2f_spec.rb
parent8e3490698c0f9c0737f40297d35b62d67688cc50 (diff)
downloadgitlab-ce-ca665d01e6a7f94fe75ef537577d3aecb2984d17.tar.gz
Resolve "2FA mobile options should be rephrased"
Diffstat (limited to 'spec/features/u2f_spec.rb')
-rw-r--r--spec/features/u2f_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/u2f_spec.rb b/spec/features/u2f_spec.rb
index f1192f48b86..ae9b65d1a39 100644
--- a/spec/features/u2f_spec.rb
+++ b/spec/features/u2f_spec.rb
@@ -42,7 +42,7 @@ describe 'Using U2F (Universal 2nd Factor) Devices for Authentication', :js do
it 'allows registering a new device with a name' do
visit profile_account_path
manage_two_factor_authentication
- expect(page).to have_content("You've already enabled two-factor authentication using mobile")
+ expect(page).to have_content("You've already enabled two-factor authentication using one time password authenticators")
u2f_device = register_u2f_device
@@ -70,7 +70,7 @@ describe 'Using U2F (Universal 2nd Factor) Devices for Authentication', :js do
it 'allows deleting a device' do
visit profile_account_path
manage_two_factor_authentication
- expect(page).to have_content("You've already enabled two-factor authentication using mobile")
+ expect(page).to have_content("You've already enabled two-factor authentication using one time password authenticators")
first_u2f_device = register_u2f_device
second_u2f_device = register_u2f_device(name: 'My other device')