Remove notify_unhide_to_user and notify_undelete_to_user mailers

This commit is contained in:
Paul Chavard 2020-02-18 16:28:59 +01:00
parent fc2d81bc47
commit e931c0800d
4 changed files with 0 additions and 48 deletions

View file

@ -61,17 +61,6 @@ RSpec.describe DossierMailer, type: :mailer do
it { expect(subject.body).to include(deleted_dossier.procedure.libelle) }
end
describe '.notify_unhide_to_user' do
let(:dossier) { create(:dossier) }
subject { described_class.notify_unhide_to_user(dossier) }
it { expect(subject.subject).to eq("Votre dossier nº #{dossier.id} n'a pas pu être supprimé") }
it { expect(subject.body).to include(dossier.id) }
it { expect(subject.body).to include("n'a pas pu être supprimé") }
it { expect(subject.body).to include(dossier.procedure.libelle) }
end
describe '.notify_revert_to_instruction' do
let(:dossier) { create(:dossier, procedure: build(:simple_procedure)) }