demarches-normaliennes/spec/mailers/previews/administrateur_mailer_preview.rb
2018-12-20 17:07:03 +01:00

7 lines
266 B
Ruby

class AdministrateurMailerPreview < ActionMailer::Preview
def activate_before_expiration
administrateur = Administrateur.new(reset_password_sent_at: Time.now.utc)
AdministrateurMailer.activate_before_expiration(administrateur, "a4d4e4f4b4d445")
end
end