aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 54ef68c59b..32675c884a 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -387,18 +387,6 @@ class OutputSafetyTest < ActiveSupport::TestCase
assert !@other_combination.html_safe?
end
- test "Escapes special HTML/XML characters" do
- @other_string = "other".html_safe
- @combination = @other_string + "<foo>&\"'"
- @other_combination = @string + "<foo>&\"'"
-
- assert_equal "other&lt;foo&gt;&amp;&quot;&apos;", @combination
- assert_equal "hello<foo>&\"'", @other_combination
-
- assert @combination.html_safe?
- assert !@other_combination.html_safe?
- end
-
test "Concatting safe onto unsafe yields unsafe" do
@other_string = "other"