fix: administrateur_mailer preview
This commit is contained in:
parent
183506810b
commit
6841e80414
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
class AdministrateurMailerPreview < ActionMailer::Preview
|
class AdministrateurMailerPreview < ActionMailer::Preview
|
||||||
def activate_before_expiration
|
def activate_before_expiration
|
||||||
administrateur = Administrateur.new(reset_password_sent_at: Time.zone.now)
|
user = User.new(reset_password_sent_at: Time.zone.now)
|
||||||
|
|
||||||
AdministrateurMailer.activate_before_expiration(administrateur, "a4d4e4f4b4d445")
|
AdministrateurMailer.activate_before_expiration(user, "a4d4e4f4b4d445")
|
||||||
end
|
end
|
||||||
|
|
||||||
def notify_procedure_expires_when_termine_forced
|
def notify_procedure_expires_when_termine_forced
|
||||||
|
|
Loading…
Reference in a new issue