Skip to content
This repository
Browse code

Fix warning: assigned but unused variable - result

  • Loading branch information...
commit 38204eb1ce4698a9f479aef92b35f29e353ebc35 1 parent 1430ed2
Toshinori Kajihara kennyj authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/test/template/record_tag_helper_test.rb
2  actionpack/test/template/record_tag_helper_test.rb
@@ -97,7 +97,7 @@ def test_content_tag_for_collection_is_html_safe
97 97
98 98 def test_content_tag_for_does_not_change_options_hash
99 99 options = { :class => "important" }
100   - result = content_tag_for(:li, @post, options) { }
  100 + content_tag_for(:li, @post, options) { }
101 101 assert_equal({ :class => "important" }, options)
102 102 end
103 103 end

0 comments on commit 38204eb

Please sign in to comment.
Something went wrong with that request. Please try again.