Remove notify_unhide_to_user and notify_undelete_to_user mailers
This commit is contained in:
parent
fc2d81bc47
commit
e931c0800d
4 changed files with 0 additions and 48 deletions
|
@ -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)) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue