diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-18 08:45:33 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-18 08:45:33 -0800 |
commit | e1540897101b710f4cf06cbe971ba04e59c4fb71 (patch) | |
tree | 4ce29d9c441ebeaf7aed6768b028c5a8a559bf5e | |
parent | 1430ed2284ec9cc63cb20142b61aaedafd87b9c0 (diff) | |
parent | 38204eb1ce4698a9f479aef92b35f29e353ebc35 (diff) | |
download | rails-e1540897101b710f4cf06cbe971ba04e59c4fb71.tar.gz rails-e1540897101b710f4cf06cbe971ba04e59c4fb71.tar.bz2 rails-e1540897101b710f4cf06cbe971ba04e59c4fb71.zip |
Merge pull request #4522 from kennyj/fix_warning_20120119
Fix warning: assigned but unused variable - result
-rw-r--r-- | actionpack/test/template/record_tag_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/record_tag_helper_test.rb b/actionpack/test/template/record_tag_helper_test.rb index e6ca015483..a84034c02e 100644 --- a/actionpack/test/template/record_tag_helper_test.rb +++ b/actionpack/test/template/record_tag_helper_test.rb @@ -97,7 +97,7 @@ class RecordTagHelperTest < ActionView::TestCase def test_content_tag_for_does_not_change_options_hash options = { :class => "important" } - result = content_tag_for(:li, @post, options) { } + content_tag_for(:li, @post, options) { } assert_equal({ :class => "important" }, options) end end |