demarches-normaliennes/spec/mailers/previews/notification_mailer_preview.rb
2017-03-07 16:23:44 +01:00

7 lines
186 B
Ruby

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