summaryrefslogtreecommitdiff
path: root/spec/models/gpg_key_spec.rb
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@gmail.com>2017-09-15 15:35:24 +0000
committerRémy Coutable <remy@rymai.me>2017-09-15 15:35:24 +0000
commitcc2daa74d83c98dc05dd92f0950a122b46b83c96 (patch)
tree15fd2a4af5cb199f989c838d3e88f0c906d9d322 /spec/models/gpg_key_spec.rb
parentff7eb46ddb2fc54baa7024334640f3fe99e43f9d (diff)
downloadgitlab-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.rb12
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