mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix rubocop issue Layout/BlockAlignment
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: 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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user