diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-02-23 14:07:51 +0100 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:40:41 +0200 |
commit | 5ce61120b19f7f12e7aff714857851f57571ce0e (patch) | |
tree | 2d449b61f927aa93668a9af0aba390c99fbe8361 /spec/features | |
parent | 597ae6e2208a4910544e5877db7fff300a058886 (diff) | |
download | gitlab-ce-5ce61120b19f7f12e7aff714857851f57571ce0e.tar.gz |
use example gpg key instead of my own
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/profiles/gpg_keys_spec.rb | 8 |
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 |