gitlab-org--gitlab-foss/app/mailers/previews/email_rejection_mailer_preview.rb
2018-08-15 21:45:57 +00:00

7 lines
228 B
Ruby

# frozen_string_literal: true
class EmailRejectionMailerPreview < ActionMailer::Preview
def rejection
EmailRejectionMailer.rejection("some rejection reason", "From: someone@example.com\nraw email here").message
end
end