demarches-normaliennes/spec/mailers/previews/notification_mailer_preview.rb
2017-06-13 10:35:32 +02:00

5 lines
193 B
Ruby

class NotificationMailerPreview < ActionMailer::Preview
def send_notification
NotificationMailer.send_notification(Dossier.last, Dossier.last.procedure.initiated_mail_template)
end
end