Permalink
Browse files

remove unused variables warnings removed

  • Loading branch information...
1 parent 7b2d5e0 commit d13b5d4b2aac3bec055933f1769a7becff374742 @vishnuatrai vishnuatrai committed with fxn Jul 26, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −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

0 comments on commit d13b5d4

Please sign in to comment.