diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-01-11 17:48:00 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-01-11 17:48:00 +0900 |
commit | c82fa1851427eaaf6baba9828da229fdfa8c5482 (patch) | |
tree | 710d02cb77edbbdd441946d6a49fdde92128e152 /actionmailer/test | |
parent | efb935a5daf04cf3309453351f87faea4a3a2e6e (diff) | |
download | rails-c82fa1851427eaaf6baba9828da229fdfa8c5482.tar.gz rails-c82fa1851427eaaf6baba9828da229fdfa8c5482.tar.bz2 rails-c82fa1851427eaaf6baba9828da229fdfa8c5482.zip |
Use Encoding::UTF_8 constant for default_{internal,external} in the tests
Diffstat (limited to 'actionmailer/test')
-rw-r--r-- | actionmailer/test/abstract_unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb index 82f03f5cba..51de03c4ce 100644 --- a/actionmailer/test/abstract_unit.rb +++ b/actionmailer/test/abstract_unit.rb @@ -3,8 +3,8 @@ require "active_support/core_ext/kernel/reporting" # These are the normal settings that will be set up by Railties # TODO: Have these tests support other combinations of these values silence_warnings do - Encoding.default_internal = "UTF-8" - Encoding.default_external = "UTF-8" + Encoding.default_internal = Encoding::UTF_8 + Encoding.default_external = Encoding::UTF_8 end module Rails |