diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:53:54 +0530 |
---|---|---|
committer | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:53:54 +0530 |
commit | db34a652772a8549d5b2eb75cf3c7adab61f6507 (patch) | |
tree | d590c61aa4226bca426da03adc69626347e12b5e /activesupport/test | |
parent | 0868461ee00b350e1a13e6406a69ce0bf03b97f8 (diff) | |
download | rails-db34a652772a8549d5b2eb75cf3c7adab61f6507.tar.gz rails-db34a652772a8549d5b2eb75cf3c7adab61f6507.tar.bz2 rails-db34a652772a8549d5b2eb75cf3c7adab61f6507.zip |
remove unused variables warnings removed
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/safe_buffer_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/test/safe_buffer_test.rb b/activesupport/test/safe_buffer_test.rb index 46bc0d7a34..7662e9b765 100644 --- a/activesupport/test/safe_buffer_test.rb +++ b/activesupport/test/safe_buffer_test.rb @@ -80,14 +80,12 @@ class SafeBufferTest < ActiveSupport::TestCase end test "Should escape dirty buffers on add" do - dirty = @buffer clean = "hello".html_safe @buffer.gsub!('', '<>') assert_equal "hello<>", 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 |