From 6d8a5222e62aa7440b568592c9350343e97c0b2a Mon Sep 17 00:00:00 2001 From: luca Date: Mon, 9 Nov 2020 22:39:13 +0100 Subject: [PATCH] Syntax fixes according to rubocop inspection. --- core/spec/models/spree/payment_method_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/spec/models/spree/payment_method_spec.rb b/core/spec/models/spree/payment_method_spec.rb index a9530c22dd8..643bd903f2d 100644 --- a/core/spec/models/spree/payment_method_spec.rb +++ b/core/spec/models/spree/payment_method_spec.rb @@ -407,8 +407,9 @@ def gateway_class it "raises an UnsupportedPaymentMethod error" do expect { Spree::PaymentMethod.all.to_json } .to raise_error( - Spree::PaymentMethod::UnsupportedPaymentMethod, - /Found invalid payment type 'UnsupportedPaymentMethod'/) + Spree::PaymentMethod::UnsupportedPaymentMethod, + /Found invalid payment type 'UnsupportedPaymentMethod'/ + ) end end end