mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
turn off deprecation silencing
This commit is contained in:
parent
e1beb7d287
commit
c76c699f30
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,14 @@
|
||||||
require 'abstract_unit'
|
require 'abstract_unit'
|
||||||
|
|
||||||
class TmailCompatTest < ActiveSupport::TestCase
|
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
|
def test_set_content_type_raises_deprecation_warning
|
||||||
mail = Mail.new
|
mail = Mail.new
|
||||||
|
@ -31,5 +39,4 @@ class TmailCompatTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
assert_equal mail.content_transfer_encoding, "base64"
|
assert_equal mail.content_transfer_encoding, "base64"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue