diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-26 12:33:34 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-26 12:33:34 -0700 |
commit | d482cf8bfa941b76cce2ae2b60158573615a7d16 (patch) | |
tree | bdbb95d0911bd0ad83e13f798c36df4e867f8eca | |
parent | 49ebd01d19b5fee2b19e2543abb1493c1977566c (diff) | |
parent | db34a652772a8549d5b2eb75cf3c7adab61f6507 (diff) | |
download | rails-d482cf8bfa941b76cce2ae2b60158573615a7d16.tar.gz rails-d482cf8bfa941b76cce2ae2b60158573615a7d16.tar.bz2 rails-d482cf8bfa941b76cce2ae2b60158573615a7d16.zip |
Merge pull request #2285 from castlerock/remove_warnings_ruby193
remove unused variables warnings removed
-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 |