diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-03 20:44:20 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-03 20:54:34 -0500 |
commit | 73395476021f88ca4289a061dfc266596d536a6e (patch) | |
tree | be47063a8261715c67ccca1e3baac69430e46b51 | |
parent | c1b8d0d94efd1ff54641c27a3f919f12935e418d (diff) | |
download | rails-73395476021f88ca4289a061dfc266596d536a6e.tar.gz rails-73395476021f88ca4289a061dfc266596d536a6e.tar.bz2 rails-73395476021f88ca4289a061dfc266596d536a6e.zip |
Remove unneeded Deprecation.silence
-rw-r--r-- | actionmailer/test/i18n_with_controller_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionmailer/test/i18n_with_controller_test.rb b/actionmailer/test/i18n_with_controller_test.rb index a87a9c9861..4f09339800 100644 --- a/actionmailer/test/i18n_with_controller_test.rb +++ b/actionmailer/test/i18n_with_controller_test.rb @@ -57,9 +57,7 @@ class ActionMailerI18nWithControllerTest < ActionDispatch::IntegrationTest stub_any_instance(Mail::SMTP, instance: Mail::SMTP.new({})) do |instance| assert_called(instance, :deliver!) do with_translation "de", email_subject: "[Anmeldung] Willkommen" do - ActiveSupport::Deprecation.silence do - get "/test/send_mail" - end + get "/test/send_mail" assert_equal "Mail sent - Subject: [Anmeldung] Willkommen", @response.body end end |