From 8dcc1cd2b1fe742ecafea9585d42aab19a2f4a2f Mon Sep 17 00:00:00 2001 From: Matthew Bass Date: Fri, 30 Oct 2020 15:09:53 -0400 Subject: [PATCH] Fix deprecated solidus_gem_version references SolidusSupport.solidus_gem_version is deprecated and will be removed in solidus_support 1.0 --- spec/features/frontend/braintree_credit_card_checkout_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/frontend/braintree_credit_card_checkout_spec.rb b/spec/features/frontend/braintree_credit_card_checkout_spec.rb index fff3e1fc..bc9b375d 100644 --- a/spec/features/frontend/braintree_credit_card_checkout_spec.rb +++ b/spec/features/frontend/braintree_credit_card_checkout_spec.rb @@ -18,7 +18,7 @@ ) end - order = if SolidusSupport.solidus_gem_version >= Gem::Version.new('2.6.0') + order = if Spree.solidus_gem_version >= Gem::Version.new('2.6.0') Spree::TestingSupport::OrderWalkthrough.up_to(:delivery) else OrderWalkthrough.up_to(:delivery)