summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-24 13:17:03 +0000
committerPhil Hughes <me@iamphill.com>2017-02-24 16:46:13 +0000
commit0a6abd3499d5d425fdb8cf4931526101437d2bc4 (patch)
tree44b5bae937fb755e8f8a3f72c5abc3f586704570
parent819fd96d1aee35b6fc50d39f94e97f45d1d99733 (diff)
downloadgitlab-ce-ssh-key-paste.tar.gz
Tests updatessh-key-paste
-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