From abb004bacbf873da1b709354bcf61d0c4bbf02f5 Mon Sep 17 00:00:00 2001 From: Monica Giambitto Date: Fri, 6 Oct 2023 14:20:18 +0200 Subject: [PATCH] rubocop offense: remove double space around + operator --- core/app/models/spree/payment_method/bogus_credit_card.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/models/spree/payment_method/bogus_credit_card.rb b/core/app/models/spree/payment_method/bogus_credit_card.rb index 2b37dd271e6..85e24734ce6 100644 --- a/core/app/models/spree/payment_method/bogus_credit_card.rb +++ b/core/app/models/spree/payment_method/bogus_credit_card.rb @@ -33,7 +33,7 @@ def authorize(_money, credit_card, _options = {}) if VALID_CCS.include?(credit_card.number) || (profile_id && profile_id.starts_with?('BGS-')) ActiveMerchant::Billing::Response.new(true, SUCCESS_MESSAGE + message_detail, {}, test: true, authorization: AUTHORIZATION_CODE, avs_result: { code: 'D' }) else - ActiveMerchant::Billing::Response.new(false, FAILURE_MESSAGE + message_detail, { message: FAILURE_MESSAGE + message_detail }, test: true) + ActiveMerchant::Billing::Response.new(false, FAILURE_MESSAGE + message_detail, { message: FAILURE_MESSAGE + message_detail }, test: true) end end