class BaseTest::MailerWithCallback

Public Instance Methods

a_callback() click to toggle source
# File actionmailer/test/base_test.rb, line 827
def a_callback
  mail.to << "jane@example.com"
end
welcome() click to toggle source
# File actionmailer/test/base_test.rb, line 822
def welcome
  headers("X-Special-Header" => "special indeed!")
  mail subject: "subject", body: "hello world", to: ["joe@example.com"]
end