class DelayedMailer

Public Instance Methods

test_message(*) click to toggle source
# File actionmailer/test/mailers/delayed_mailer.rb, line 21
def test_message(*)
  mail(from: "test-sender@test.com", to: "test-receiver@test.com", subject: "Test Subject", body: "Test Body")
end
test_raise(klass_name) click to toggle source
# File actionmailer/test/mailers/delayed_mailer.rb, line 25
def test_raise(klass_name)
  raise klass_name.constantize, "boom"
end