diff options
author | Phil Hughes <me@iamphill.com> | 2017-02-23 17:48:44 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-02-27 15:25:27 +0000 |
commit | e42169c28e14f4dbc6e4d35ae189b73d90278c42 (patch) | |
tree | 3e156cb99908fac1eb2d319adc15b625c0e219cf /spec/features/profiles | |
parent | d6f18f8e1989aac4b96ad377f854cf2724f77c19 (diff) | |
download | gitlab-ce-e42169c28e14f4dbc6e4d35ae189b73d90278c42.tar.gz |
Updates SSH key title after pasting key
Previously it was listening for focusout, it now listens for blur &
paste events
Closes #28436
Diffstat (limited to 'spec/features/profiles')
-rw-r--r-- | spec/features/profiles/keys_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/keys_spec.rb b/spec/features/profiles/keys_spec.rb index eb1050d21c6..2f436f153aa 100644 --- a/spec/features/profiles/keys_spec.rb +++ b/spec/features/profiles/keys_spec.rb @@ -15,7 +15,7 @@ feature 'Profile > SSH Keys', feature: true do scenario 'auto-populates the title', js: true do fill_in('Key', with: attributes_for(:key).fetch(:key)) - expect(find_field('Title').value).to eq 'dummy@gitlab.com' + expect(page).to have_field("Title", with: "dummy@gitlab.com") end scenario 'saves the new key' do |