spec/workflow/notifier/mail_spec.rb in kuroko2-0.2.3 vs spec/workflow/notifier/mail_spec.rb in kuroko2-0.3.0

- old
+ new

@@ -73,12 +73,28 @@ ActionMailer::Base.deliveries.size }.from(0).to(1) end end - describe '#notify_working' do + describe '#notify_retrying' do it 'does not send mail' do - expect { notifier.notify_working }.not_to change { + expect { notifier.notify_retrying }.not_to change { + ActionMailer::Base.deliveries.size + } + end + end + + describe '#notify_skipping' do + it 'does not send mail' do + expect { notifier.notify_skipping }.not_to change { + ActionMailer::Base.deliveries.size + } + end + end + + describe '#notify_launch' do + it 'does not send mail' do + expect { notifier.notify_launch }.not_to change { ActionMailer::Base.deliveries.size } end end end