diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2017-09-15 20:14:53 +0000 |
---|---|---|
committer | Felipe Artur <fcardozo@gitlab.com> | 2017-09-15 20:14:53 +0000 |
commit | 25c959f94d3dda63120256735163e4a142b8711e (patch) | |
tree | 4c6e544a665dab5b59106ace9638dca16b71d806 /spec/models/key_spec.rb | |
parent | b20595b2bd0023ebbc2ec46017f5d1cb1533fb4f (diff) | |
parent | 3dd2248605ce2183f02ab268fc1f8b0b164f0bed (diff) | |
download | gitlab-ce-issue_37640.tar.gz |
Merge branch 'master' into 'issue_37640'issue_37640
# Conflicts:
# db/schema.rb
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 |