summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-27 16:45:46 +0000
committerFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-27 16:45:46 +0000
commit883342ce36b5f38156a3376af7d8a2e274163917 (patch)
tree707df8270e00c78004775f84422a88ccf6f43d61 /spec
parent23659c52daf42a343a005924615cf428b8a2d7a2 (diff)
parente42169c28e14f4dbc6e4d35ae189b73d90278c42 (diff)
downloadgitlab-ce-883342ce36b5f38156a3376af7d8a2e274163917.tar.gz
Merge branch 'ssh-key-paste' into 'master'
Updates SSH key title after pasting key Closes #28436 See merge request !9481
Diffstat (limited to 'spec')
-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