From 3fe268427039d16a4fcd74eab790b2b2f9697328 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Fri, 30 Oct 2020 15:57:48 +0000 Subject: [PATCH] Fix rubocop issue Layout/BlockAlignment --- .rubocop_todo.yml | 8 -------- spec/models/spree/order/checkout_spec.rb | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c6fe33b6c0..e9b4580a55 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: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleAlignWith. -# SupportedStylesAlignWith: either, start_of_block, start_of_line -Layout/BlockAlignment: - Exclude: - - 'spec/models/spree/order/checkout_spec.rb' - # Offense count: 3 # Cop supports --auto-correct. Layout/EmptyLines: diff --git a/spec/models/spree/order/checkout_spec.rb b/spec/models/spree/order/checkout_spec.rb index 1977841ad0..3fadb6b8e0 100644 --- a/spec/models/spree/order/checkout_spec.rb +++ b/spec/models/spree/order/checkout_spec.rb @@ -122,7 +122,7 @@ describe Spree::Order::Checkout do order.state = 'payment' end - context "when payment is required" do + context "when payment is required" do before do allow(order).to receive_messages confirmation_required?: false allow(order).to receive_messages payment_required?: true