提交 225ab2a7 编写于 作者: L Lin Jen-Shin

Cleanup emails between tests

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册