aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/assert_select_email_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/test/assert_select_email_test.rb')
-rw-r--r--actionmailer/test/assert_select_email_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/assert_select_email_test.rb b/actionmailer/test/assert_select_email_test.rb
index 820d7f34a7..bf14fe0853 100644
--- a/actionmailer/test/assert_select_email_test.rb
+++ b/actionmailer/test/assert_select_email_test.rb
@@ -11,8 +11,8 @@ class AssertSelectEmailTest < ActionMailer::TestCase
class AssertMultipartSelectMailer < ActionMailer::Base
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] }
+ format.text { render plain: options[:text] }
+ format.html { render plain: options[:html] }
end
end
end