Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-23 20:48:44 +0300
committerPhil Hughes <me@iamphill.com>2017-02-27 18:25:27 +0300
commite42169c28e14f4dbc6e4d35ae189b73d90278c42 (patch)
tree3e156cb99908fac1eb2d319adc15b625c0e219cf /spec/features/profiles
parentd6f18f8e1989aac4b96ad377f854cf2724f77c19 (diff)
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.rb2
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