debian-mirror-gitlab/spec/mailers/previews/email_rejection_mailer_preview.rb

6 lines
197 B
Ruby
Raw Normal View History

2018-05-09 12:01:36 +05:30
class EmailRejectionMailerPreview < ActionMailer::Preview
def rejection
EmailRejectionMailer.rejection("some rejection reason", "From: someone@example.com\nraw email here").message
end
end