DossierControllerSpec: remove duplicate test

This commit is contained in:
Simon Lehericey 2017-07-17 14:31:31 +02:00 committed by Mathieu Magnin
parent 86ea47bb0d
commit 97de5b2dd9

View file

@ -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