Permalink
Browse files

Merge pull request #4522 from kennyj/fix_warning_20120119

Fix warning: assigned but unused variable - result
  • Loading branch information...
2 parents 1430ed2 + 38204eb commit e1540897101b710f4cf06cbe971ba04e59c4fb71 @josevalim josevalim committed Jan 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/template/record_tag_helper_test.rb
@@ -97,7 +97,7 @@ def test_content_tag_for_collection_is_html_safe
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

0 comments on commit e154089

Please sign in to comment.