Don't log to STDOUT in specs
This commit is contained in:
parent
e37c39a21d
commit
d0fcd13ea3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue