appease rubocop

This commit is contained in:
Joel Hawksley 2019-12-03 11:42:38 -07:00
parent f508d4da4d
commit 54f418d96d
No known key found for this signature in database
GPG Key ID: 38C0E0D4558502CD
2 changed files with 4 additions and 5 deletions

View File

@ -104,7 +104,6 @@ module ActionView
end
private
def build_tag_values(*args)
tag_values = []

View File

@ -256,10 +256,10 @@ class TagHelperTest < ActionView::TestCase
str = content_tag("p", "limelight", class: { song: true, play: false })
assert_equal "<p class=\"song\">limelight</p>", str
str = content_tag("p", "limelight", class: [{ song: true}, nil, false])
str = content_tag("p", "limelight", class: [{ song: true }, nil, false])
assert_equal "<p class=\"song\">limelight</p>", str
str = content_tag("p", "limelight", class: ["song", { foo: false}])
str = content_tag("p", "limelight", class: ["song", { foo: false }])
assert_equal "<p class=\"song\">limelight</p>", str
str = content_tag("p", "limelight", class: { "song": true, "play": true })
@ -279,10 +279,10 @@ class TagHelperTest < ActionView::TestCase
str = tag.p "limelight", class: { song: true, play: false }
assert_equal "<p class=\"song\">limelight</p>", str
str = tag.p "limelight", class: [{ song: true}, nil, false]
str = tag.p "limelight", class: [{ song: true }, nil, false]
assert_equal "<p class=\"song\">limelight</p>", str
str = tag.p "limelight", class: ["song", { foo: false}]
str = tag.p "limelight", class: ["song", { foo: false }]
assert_equal "<p class=\"song\">limelight</p>", str
str = tag.p "limelight", class: { "song": true, "play": true }