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

10 lines
291 B
Ruby
Raw Normal View History

2018-05-14 14:21:03 +02:00
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