aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 20:44:20 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 20:54:34 -0500
commit73395476021f88ca4289a061dfc266596d536a6e (patch)
treebe47063a8261715c67ccca1e3baac69430e46b51 /actionmailer
parentc1b8d0d94efd1ff54641c27a3f919f12935e418d (diff)
downloadrails-73395476021f88ca4289a061dfc266596d536a6e.tar.gz
rails-73395476021f88ca4289a061dfc266596d536a6e.tar.bz2
rails-73395476021f88ca4289a061dfc266596d536a6e.zip
Remove unneeded Deprecation.silence
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/i18n_with_controller_test.rb4
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