From 0ef978d1d2fc44134ccda2a21ec6f1984fb0b699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 7 May 2011 23:45:15 +0200 Subject: Revert "Merge pull request #275 from pk-amooma/master" Several AP tests fail after this change. This reverts commit aaf01cd53718c8aa5b69ac056b997e6dd9893777, reversing changes made to 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed. --- activesupport/test/core_ext/string_ext_test.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'activesupport/test') 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 + "&\"'" - @other_combination = @string + "&\"'" - - assert_equal "other<foo>&"'", @combination - assert_equal "hello&\"'", @other_combination - - assert @combination.html_safe? - assert !@other_combination.html_safe? - end - test "Concatting safe onto unsafe yields unsafe" do @other_string = "other" -- cgit v1.2.3