aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-01-12 15:28:57 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-12 15:28:57 -0800
commitc76c699f301678f86054b1019fa1ca78c46df47b (patch)
treec82e72e6e546ceb971aaa0da4c7e87e96fac029f /actionmailer
parente1beb7d2878cb55a045731b4a4c0c7a6046b3c09 (diff)
downloadrails-c76c699f301678f86054b1019fa1ca78c46df47b.tar.gz
rails-c76c699f301678f86054b1019fa1ca78c46df47b.tar.bz2
rails-c76c699f301678f86054b1019fa1ca78c46df47b.zip
turn off deprecation silencing
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/old_base/tmail_compat_test.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/actionmailer/test/old_base/tmail_compat_test.rb b/actionmailer/test/old_base/tmail_compat_test.rb
index 23706e99ff..51558c2bfa 100644
--- a/actionmailer/test/old_base/tmail_compat_test.rb
+++ b/actionmailer/test/old_base/tmail_compat_test.rb
@@ -1,6 +1,14 @@
require 'abstract_unit'
class TmailCompatTest < ActiveSupport::TestCase
+ def setup
+ @silence = ActiveSupport::Deprecation.silenced
+ ActiveSupport::Deprecation.silenced = false
+ end
+
+ def teardown
+ ActiveSupport::Deprecation.silenced = @silence
+ end
def test_set_content_type_raises_deprecation_warning
mail = Mail.new
@@ -31,5 +39,4 @@ class TmailCompatTest < ActiveSupport::TestCase
end
assert_equal mail.content_transfer_encoding, "base64"
end
-
end