demarches-normaliennes/spec/mailers/previews/dossier_mailer_preview.rb

11 lines
378 B
Ruby
Raw Normal View History

2018-05-29 12:16:22 +02:00
# Preview all emails at http://localhost:3000/rails/mailers/dossier_mailer
class DossierMailerPreview < ActionMailer::Preview
def notify_deletion_to_user
DossierMailer.notify_deletion_to_user(DeletedDossier.last, "user@ds.fr")
end
def notify_deletion_to_administration
DossierMailer.notify_deletion_to_administration(DeletedDossier.last, "admin@ds.fr")
2018-05-29 12:16:22 +02:00
end
end