summaryrefslogtreecommitdiff
path: root/spec/features/u2f_spec.rb
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-04-04 13:06:32 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-04-06 14:58:57 -0500
commit7592137f218a1a5ef0a8031846cc93ecf185dd9f (patch)
tree257e3739708f4e3996bfca07f0fbd70edd2de606 /spec/features/u2f_spec.rb
parent0e325ea6ee625ad24709dd1118e36803bbaa222e (diff)
downloadgitlab-ce-7592137f218a1a5ef0a8031846cc93ecf185dd9f.tar.gz
Fix rspec and spinach tests
Diffstat (limited to 'spec/features/u2f_spec.rb')
-rw-r--r--spec/features/u2f_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/u2f_spec.rb b/spec/features/u2f_spec.rb
index 60941abda14..c877cfdd978 100644
--- a/spec/features/u2f_spec.rb
+++ b/spec/features/u2f_spec.rb
@@ -7,17 +7,17 @@ feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', :js do
def manage_two_factor_authentication
click_on 'Manage two-factor authentication'
- expect(page).to have_content("Setup New U2F Device")
+ expect(page).to have_content("Setup new U2F device")
wait_for_ajax
end
def register_u2f_device(u2f_device = nil, name: 'My device')
u2f_device ||= FakeU2fDevice.new(page, name)
u2f_device.respond_to_u2f_registration
- click_on 'Setup New U2F Device'
+ click_on 'Setup new U2F device'
expect(page).to have_content('Your device was successfully set up')
fill_in "Pick a name", with: name
- click_on 'Register U2F Device'
+ click_on 'Register U2F device'
u2f_device
end