Skip to content
Browse files

remove unused variables warnings removed

  • Loading branch information...
1 parent 0868461 commit db34a652772a8549d5b2eb75cf3c7adab61f6507 @vatrai vatrai committed Jul 26, 2011
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

0 comments on commit db34a65

Please sign in to comment.
Something went wrong with that request. Please try again.