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:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-23 16:07:51 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:40:41 +0300
commit5ce61120b19f7f12e7aff714857851f57571ce0e (patch)
tree2d449b61f927aa93668a9af0aba390c99fbe8361 /spec/features
parent597ae6e2208a4910544e5877db7fff300a058886 (diff)
use example gpg key instead of my own
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/profiles/gpg_keys_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/profiles/gpg_keys_spec.rb b/spec/features/profiles/gpg_keys_spec.rb
index 223f2e81842..42e1a6624b7 100644
--- a/spec/features/profiles/gpg_keys_spec.rb
+++ b/spec/features/profiles/gpg_keys_spec.rb
@@ -16,8 +16,8 @@ feature 'Profile > GPG Keys', :gpg do
fill_in('Key', with: attributes_for(:gpg_key)[:key])
click_button('Add key')
- expect(page).to have_content('mail@koffeinfrei.org lex@panter.ch')
- expect(page).to have_content('4F4840A503964251CF7D7F5DC728AF10972E97C0')
+ expect(page).to have_content(GpgHelpers::User1.email)
+ expect(page).to have_content(GpgHelpers::User1.fingerprint)
end
end
@@ -25,8 +25,8 @@ feature 'Profile > GPG Keys', :gpg do
create(:gpg_key, user: user)
visit profile_gpg_keys_path
- expect(page).to have_content('mail@koffeinfrei.org lex@panter.ch')
- expect(page).to have_content('4F4840A503964251CF7D7F5DC728AF10972E97C0')
+ expect(page).to have_content(GpgHelpers::User1.email)
+ expect(page).to have_content(GpgHelpers::User1.fingerprint)
end
scenario 'User removes a key via the key index' do