diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-19 15:08:21 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-19 15:08:21 +0300 |
commit | d0fcd13ea34ab1557d8b071c7a1fb117046261cb (patch) | |
tree | 294cebbb4acf1260452154a150273b989ac6bde0 /spec/workers/emails_on_push_worker_spec.rb | |
parent | e37c39a21dac3d67c9c589894cf02f3614a04cbe (diff) |
Don't log to STDOUT in specs
Diffstat (limited to 'spec/workers/emails_on_push_worker_spec.rb')
-rw-r--r-- | spec/workers/emails_on_push_worker_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/emails_on_push_worker_spec.rb b/spec/workers/emails_on_push_worker_spec.rb index b43a5897c98..7ca2c29da1c 100644 --- a/spec/workers/emails_on_push_worker_spec.rb +++ b/spec/workers/emails_on_push_worker_spec.rb @@ -89,6 +89,7 @@ describe EmailsOnPushWorker do before do ActionMailer::Base.deliveries.clear allow(Notify).to receive(:repository_push_email).and_raise(Net::SMTPFatalError) + allow(subject).to receive_message_chain(:logger, :info) perform end |