Commit 225ab2a7 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Cleanup emails between tests

parent 61d650fe
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment