Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused variables warnings removed

  • Loading branch information...
commit d13b5d4b2aac3bec055933f1769a7becff374742 1 parent 7b2d5e0
@vatrai vatrai authored fxn committed
Showing with 0 additions and 2 deletions.
  1. +0 −2  activesupport/test/safe_buffer_test.rb
View
2  activesupport/test/safe_buffer_test.rb
@@ -80,14 +80,12 @@ def setup
end
test "Should escape dirty buffers on add" do
- dirty = @buffer
clean = "hello".html_safe
@buffer.gsub!('', '<>')
assert_equal "hello&lt;&gt;", clean + @buffer
end
test "Should concat as a normal string when dirty" do
- dirty = @buffer
clean = "hello".html_safe
@buffer.gsub!('', '<>')
assert_equal "<>hello", @buffer + clean
Please sign in to comment.
Something went wrong with that request. Please try again.