diff options
author | haseeb <haseebeqx@gmail.com> | 2017-09-15 15:35:24 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-15 15:35:24 +0000 |
commit | cc2daa74d83c98dc05dd92f0950a122b46b83c96 (patch) | |
tree | 15fd2a4af5cb199f989c838d3e88f0c906d9d322 /spec/models/gpg_key_spec.rb | |
parent | ff7eb46ddb2fc54baa7024334640f3fe99e43f9d (diff) | |
download | gitlab-ce-cc2daa74d83c98dc05dd92f0950a122b46b83c96.tar.gz |
created services for keys
Diffstat (limited to 'spec/models/gpg_key_spec.rb')
-rw-r--r-- | spec/models/gpg_key_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/gpg_key_spec.rb b/spec/models/gpg_key_spec.rb index 9c99c3e5c08..fadc8bfeb61 100644 --- a/spec/models/gpg_key_spec.rb +++ b/spec/models/gpg_key_spec.rb @@ -140,18 +140,6 @@ describe GpgKey do end end - describe 'notification', :mailer do - let(:user) { create(:user) } - - it 'sends a notification' do - perform_enqueued_jobs do - create(:gpg_key, user: user) - end - - should_email(user) - end - end - describe '#revoke' do it 'invalidates all associated gpg signatures and destroys the key' do gpg_key = create :gpg_key |