Skip to content

Commit

Permalink
remove unused variables warnings removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishnu Atrai committed Jul 26, 2011
1 parent 0868461 commit db34a65
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activesupport/test/safe_buffer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db34a65

Please sign in to comment.