diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml index 28739ee90..5ef091a74 100644 --- a/app/views/layouts/mailer.html.haml +++ b/app/views/layouts/mailer.html.haml @@ -1,3 +1,3 @@ -%hmtl +%html %body - = yield \ No newline at end of file + = yield diff --git a/spec/mailers/previews/notification_mailer_preview.rb b/spec/mailers/previews/notification_mailer_preview.rb index dda299980..f1af33905 100644 --- a/spec/mailers/previews/notification_mailer_preview.rb +++ b/spec/mailers/previews/notification_mailer_preview.rb @@ -1,5 +1,11 @@ class NotificationMailerPreview < ActionMailer::Preview + def dossier_received NotificationMailer.dossier_received(Dossier.last) end + + def dossier_validated + NotificationMailer.dossier_validated(Dossier.last) + end + end