diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-21 09:49:38 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-10 00:02:52 -0300 |
commit | 79a5ea9eadb4d43b62afacedc0706cbe88c54496 (patch) | |
tree | 0f4cd12777911bff6f3019c1707ac1ec558e2c46 /actionmailer/test/i18n_with_controller_test.rb | |
parent | 57e1c99a280bdc1b324936a690350320a1cd8111 (diff) | |
download | rails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.tar.gz rails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.tar.bz2 rails-79a5ea9eadb4d43b62afacedc0706cbe88c54496.zip |
Remove deprecated support to :text in render
Diffstat (limited to 'actionmailer/test/i18n_with_controller_test.rb')
-rw-r--r-- | actionmailer/test/i18n_with_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/i18n_with_controller_test.rb b/actionmailer/test/i18n_with_controller_test.rb index 6370213043..039685ffe5 100644 --- a/actionmailer/test/i18n_with_controller_test.rb +++ b/actionmailer/test/i18n_with_controller_test.rb @@ -18,7 +18,7 @@ end class TestController < ActionController::Base def send_mail email = I18nTestMailer.mail_with_i18n_subject("test@localhost").deliver_now - render text: "Mail sent - Subject: #{email.subject}" + render plain: "Mail sent - Subject: #{email.subject}" end end |