From 972efa11fd3339117e9f874beb4e85b146212c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sun, 29 Aug 2010 20:42:09 -0300 Subject: Deprecate the old mailer API that was not deprecated yet. --- actionmailer/test/old_base/adv_attr_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionmailer/test/old_base/adv_attr_test.rb') diff --git a/actionmailer/test/old_base/adv_attr_test.rb b/actionmailer/test/old_base/adv_attr_test.rb index f22d733bc5..c5a6b6d88b 100644 --- a/actionmailer/test/old_base/adv_attr_test.rb +++ b/actionmailer/test/old_base/adv_attr_test.rb @@ -11,9 +11,14 @@ class AdvAttrTest < ActiveSupport::TestCase end def setup + ActiveSupport::Deprecation.silenced = true @person = Person.new end + def teardown + ActiveSupport::Deprecation.silenced = false + end + def test_adv_attr assert_nil @person.name @person.name 'Bob' -- cgit v1.2.3