DossierControllerSpec: remove duplicate test
This commit is contained in:
parent
86ea47bb0d
commit
97de5b2dd9
1 changed files with 0 additions and 8 deletions
|
@ -239,14 +239,6 @@ describe Backoffice::DossiersController, type: :controller do
|
|||
end
|
||||
end
|
||||
|
||||
it 'Notification email is send' do
|
||||
expect(NotificationMailer).to receive(:send_notification)
|
||||
.with(dossier, kind_of(Mails::ReceivedMail)).and_return(NotificationMailer)
|
||||
expect(NotificationMailer).to receive(:deliver_now!)
|
||||
|
||||
subject
|
||||
end
|
||||
|
||||
it { is_expected.to redirect_to backoffice_dossier_path(id: dossier.id) }
|
||||
|
||||
it do
|
||||
|
|
Loading…
Add table
Reference in a new issue