Don't log to STDOUT in specs

This commit is contained in:
Sean McGivern 2016-08-19 13:08:21 +01:00
parent e37c39a21d
commit d0fcd13ea3
1 changed files with 1 additions and 0 deletions

View File

@ -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