From 9cb3b0b14a2e8247933ca27b1ada76afa04aa432 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Fri, 30 Oct 2020 16:00:51 +0000 Subject: [PATCH] Fix rubocop issue Layout/FirstArrayElementIndentation --- .rubocop_todo.yml | 8 -------- .../spree/admin/payment_methods/index.html.haml_spec.rb | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 71bfa819ea..5f5f41d6d9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/spec/views/spree/admin/payment_methods/index.html.haml_spec.rb b/spec/views/spree/admin/payment_methods/index.html.haml_spec.rb index 301ad5fcc1..f3ef318323 100644 --- a/spec/views/spree/admin/payment_methods/index.html.haml_spec.rb +++ b/spec/views/spree/admin/payment_methods/index.html.haml_spec.rb @@ -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