mirror of https://github.com/rails/rails
appease rubocop
This commit is contained in:
parent
f508d4da4d
commit
54f418d96d
|
@ -104,7 +104,6 @@ module ActionView
|
|||
end
|
||||
|
||||
private
|
||||
|
||||
def build_tag_values(*args)
|
||||
tag_values = []
|
||||
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue