aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/assert_select_email_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-05-21 09:49:38 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-10 00:02:52 -0300
commit79a5ea9eadb4d43b62afacedc0706cbe88c54496 (patch)
tree0f4cd12777911bff6f3019c1707ac1ec558e2c46 /actionmailer/test/assert_select_email_test.rb
parent57e1c99a280bdc1b324936a690350320a1cd8111 (diff)
downloadrails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.tar.gz
rails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.tar.bz2
rails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.zip
Remove deprecated support to :text in render
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