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

12 lines
231 B
Ruby
Raw Normal View History

class NotificationMailerPreview < ActionMailer::Preview
2017-01-23 15:49:19 +01:00
def dossier_received
NotificationMailer.dossier_received(Dossier.last)
end
2017-01-23 15:49:19 +01:00
def dossier_validated
NotificationMailer.dossier_validated(Dossier.last)
end
end