mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Fix rubocop issue Layout/FirstArrayElementIndentation
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user