Cleanup emails between tests
This commit is contained in:
parent
61d650fed7
commit
225ab2a7db
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ describe Ci::SendPipelineNotificationService, services: true do
|
|||
subject{ described_class.new(pipeline) }
|
||||
|
||||
describe '#execute' do
|
||||
before do
|
||||
reset_delivered_emails!
|
||||
end
|
||||
|
||||
shared_examples 'sending emails' do
|
||||
it 'sends an email to pipeline user' do
|
||||
perform_enqueued_jobs do
|
||||
|
|
Loading…
Reference in a new issue