diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-07-26 23:53:54 +0530 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:18 -0700 |
commit | d13b5d4b2aac3bec055933f1769a7becff374742 (patch) | |
tree | a404ebbba8f380c84dc9bf7a710f66930a4bbd8e /activesupport | |
parent | 7b2d5e0d920bc196edd2e579f6108f3d4f9d4b0b (diff) | |
download | rails-d13b5d4b2aac3bec055933f1769a7becff374742.tar.gz rails-d13b5d4b2aac3bec055933f1769a7becff374742.tar.bz2 rails-d13b5d4b2aac3bec055933f1769a7becff374742.zip |
remove unused variables warnings removed
Diffstat (limited to 'activesupport')
-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 |