Skip to content

Commit

Permalink
Merge pull request rails#4522 from kennyj/fix_warning_20120119
Browse files Browse the repository at this point in the history
Fix warning: assigned but unused variable - result
  • Loading branch information
josevalim committed Jan 18, 2012
2 parents 1430ed2 + 38204eb commit e154089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/template/record_tag_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.