diff options
author | haseeb <haseebeqx@gmail.com> | 2017-09-15 18:35:24 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-15 18:35:24 +0300 |
commit | cc2daa74d83c98dc05dd92f0950a122b46b83c96 (patch) | |
tree | 15fd2a4af5cb199f989c838d3e88f0c906d9d322 /spec/models/key_spec.rb | |
parent | ff7eb46ddb2fc54baa7024334640f3fe99e43f9d (diff) |
created services for keys
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r-- | spec/models/key_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb index 96baeaff0a4..dbc4aba8547 100644 --- a/spec/models/key_spec.rb +++ b/spec/models/key_spec.rb @@ -169,16 +169,4 @@ describe Key, :mailer do expect(described_class.new(key: " #{valid_key} ").key).to eq(valid_key) end end - - describe 'notification' do - let(:user) { create(:user) } - - it 'sends a notification' do - perform_enqueued_jobs do - create(:key, user: user) - end - - should_email(user) - end - end end |