Permalink
Browse files

Remove tests to check if the old output_buffer is still html_safe. It…

… is replaced with an html_safe one anyway, if the old one was safe.
  • Loading branch information...
kommen committed Jul 19, 2011
1 parent bd6206b commit ccdbf492acc4e99398e15f04780dffc24909c6c7
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/test/controller/caching_test.rb
@@ -813,7 +813,6 @@ def test_output_buffer
assert_nothing_raised do
cache_helper.send :fragment_for, 'Test fragment name', 'Test fragment', &Proc.new{ nil }
- assert output_buffer.html_safe?, "Output buffer should stay html_safe"
end
end
@@ -829,7 +828,6 @@ def test_safe_buffer
assert_nothing_raised do
cache_helper.send :fragment_for, 'Test fragment name', 'Test fragment', &Proc.new{ nil }
- assert output_buffer.html_safe?, "Output buffer should stay html_safe"
end
end

0 comments on commit ccdbf49

Please sign in to comment.