Fix deprecated call to #deliver in UserMailer spec

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/3421/head
Alex Coles 9 years ago
parent d12dfaff7b
commit e493107140
  1. 2
      spec/mailers/user_mailer_spec.rb

@ -133,7 +133,7 @@ describe UserMailer, type: :mailer do
describe '#work_package_watcher_added' do
let(:watcher_setter) { user }
before do
UserMailer.work_package_watcher_added(work_package, recipient, watcher_setter).deliver
UserMailer.work_package_watcher_added(work_package, recipient, watcher_setter).deliver_now
end
it_behaves_like 'mail is sent'

Loading…
Cancel
Save