2018-04-05 12:36:29 +02:00
|
|
|
class AdministrateurMailerPreview < ActionMailer::Preview
|
|
|
|
def activate_before_expiration
|
2018-12-20 16:49:56 +01:00
|
|
|
administrateur = Administrateur.new(reset_password_sent_at: Time.now.utc)
|
|
|
|
|
|
|
|
AdministrateurMailer.activate_before_expiration(administrateur, "a4d4e4f4b4d445")
|
2018-04-05 12:36:29 +02:00
|
|
|
end
|
|
|
|
end
|