Source: show | on GitHub
# File actionmailer/test/assert_select_email_test.rb, line 12 def test(options) mail subject: "Test e-mail", from: "test@test.host", to: "test <test@test.host>" do |format| format.text { render text: options[:text] } format.html { render text: options[:html] } end end