class AssertSelectEmailTest::AssertMultipartSelectMailer

Public Instance Methods

test(options) click to toggle source
# File actionmailer/test/assert_select_email_test.rb, line 14
def test(options)
  mail subject: "Test e-mail", from: "test@test.host", to: "test <test@test.host>" do |format|
    format.text { render plain: options[:text] }
    format.html { render plain: options[:html] }
  end
end