diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-06-28 13:08:29 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:43:37 +0200 |
commit | e9515dff845dfbbb51e556e4e6a4f9cf951cf239 (patch) | |
tree | 19ed4ef1499290bf2e263e6b19f27dbd7806f816 /spec/lib/gitlab/gpg_spec.rb | |
parent | 9a759c620179c72821fa6217c138036b57ea3695 (diff) | |
download | gitlab-ce-e9515dff845dfbbb51e556e4e6a4f9cf951cf239.tar.gz |
remove the :gpg rspec tag
since everything (except the CurrentKeyChain method) operates on a
tempoary keychain anyway we don't need this anymore.
Diffstat (limited to 'spec/lib/gitlab/gpg_spec.rb')
-rw-r--r-- | spec/lib/gitlab/gpg_spec.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/spec/lib/gitlab/gpg_spec.rb b/spec/lib/gitlab/gpg_spec.rb index edf7405d7f1..497fbeab5d5 100644 --- a/spec/lib/gitlab/gpg_spec.rb +++ b/spec/lib/gitlab/gpg_spec.rb @@ -44,8 +44,14 @@ describe Gitlab::Gpg do end end -describe Gitlab::Gpg::CurrentKeyChain, :gpg do - describe '.add', :gpg do +describe Gitlab::Gpg::CurrentKeyChain do + around do |example| + Gitlab::Gpg.using_tmp_keychain do + example.run + end + end + + describe '.add' do it 'stores the key in the keychain' do expect(GPGME::Key.find(:public, GpgHelpers::User1.fingerprint)).to eq [] |