Fix rubocop issue Layout/FirstArrayElementIndentation

This commit is contained in:
Luis Ramos
2020-10-30 16:00:51 +00:00
parent 06433b1be3
commit 9cb3b0b14a
2 changed files with 3 additions and 11 deletions

View File

@@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/FirstArrayElementIndentation:
Exclude:
- 'spec/views/spree/admin/payment_methods/index.html.haml_spec.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.

View File

@@ -15,9 +15,9 @@ describe "spree/admin/payment_methods/index.html.haml" do
end
assign(:payment_methods, [
create(:payment_method),
create(:payment_method)
])
create(:payment_method),
create(:payment_method)
])
end
describe "payment methods index page" do