class TestHelperMailer

Public Instance Methods

test() click to toggle source
# File actionmailer/test/test_helper_test.rb, line 7
def test
  @world = "Earth"
  mail body: render(inline: "Hello, <%= @world %>"),
    to: "test@example.com",
    from: "tester@example.com"
end