demarches-normaliennes/spec/mailers/previews/devise_user_mailer_preview.rb
2018-05-23 15:55:52 +02:00

9 lines
291 B
Ruby

class DeviseUserMailerPreview < ActionMailer::Preview
def confirmation_instructions
DeviseUserMailer.confirmation_instructions(User.first, "faketoken", {})
end
def reset_password_instructions
DeviseUserMailer.reset_password_instructions(User.first, "faketoken", {})
end
end