From c3dd393fedcb8dfd585f1a171db9f23566279978 Mon Sep 17 00:00:00 2001 From: Flavio Auciello Date: Fri, 16 Apr 2021 09:59:36 +0200 Subject: [PATCH] Fix failing spec Co-authored-by: Andrea Longhi Co-authored-by: Flavio Auciello --- spec/models/solidus_paypal_braintree/gateway_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/solidus_paypal_braintree/gateway_spec.rb b/spec/models/solidus_paypal_braintree/gateway_spec.rb index 776953a5..3808b8a6 100644 --- a/spec/models/solidus_paypal_braintree/gateway_spec.rb +++ b/spec/models/solidus_paypal_braintree/gateway_spec.rb @@ -12,7 +12,7 @@ let(:user) { create :user } let(:source) do - SolidusPaypalBraintree::Source.new( + SolidusPaypalBraintree::Source.create!( nonce: 'fake-valid-nonce', user: user, payment_type: payment_type,