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

6 lines
294 B
Ruby

# Preview all emails at http://localhost:3000/rails/mailers/super_admin_mailer
class SuperAdminMailerPreview < ActionMailer::Preview
def dolist_report
SuperAdminMailer.dolist_report("you@beta.gouv.fr", Rails.root.join("spec/fixtures/files/groupe_avec_caracteres_speciaux.csv"))
end
end