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

8 lines
186 B
Ruby
Raw Normal View History

class NotificationMailerPreview < ActionMailer::Preview
2017-01-23 15:49:19 +01:00
2017-03-07 16:23:44 +01:00
def send_notification
NotificationMailer.send_notification(Dossier.last, Dossier.last.procedure.initiated_mail)
end
2017-01-23 15:49:19 +01:00
end