aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-07-03 19:46:01 +0200
committerArun Agrawal <arunagw@gmail.com>2013-07-03 19:50:19 +0200
commit36321d85e9975da7ef2667882cab742f9db0ad4b (patch)
treef19f7f54cf0183cb9fc16e01debc9dafcc588e90 /activesupport/test
parentc9bbac46ddfc68caff6cd8a95c8d0fd045bd9201 (diff)
downloadrails-36321d85e9975da7ef2667882cab742f9db0ad4b.tar.gz
rails-36321d85e9975da7ef2667882cab742f9db0ad4b.tar.bz2
rails-36321d85e9975da7ef2667882cab742f9db0ad4b.zip
Remove deprecated `String#encoding_aware?`
core extensions (`core_ext/string/encoding`).
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/abstract_unit.rb1
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb6
2 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index dd17cb64f4..939bd7bfa8 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -8,7 +8,6 @@ ensure
end
require 'active_support/core_ext/kernel/reporting'
-require 'active_support/core_ext/string/encoding'
silence_warnings do
Encoding.default_internal = "UTF-8"
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 8f0ebc13ea..12126fb9ef 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -651,12 +651,6 @@ class OutputSafetyTest < ActiveSupport::TestCase
assert_equal 'foo'.to_yaml, 'foo'.html_safe.to_yaml(:foo => 1)
end
- test 'knows whether it is encoding aware' do
- assert_deprecated do
- assert 'ruby'.encoding_aware?
- end
- end
-
test "call to_param returns a normal string" do
string = @string.html_safe
assert string.html_safe?