From 7c311ff581297205fd5fa5f8767a015e1300c09e Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Thu, 22 Jun 2017 13:36:07 +1000 Subject: [PATCH] Set dummy Stripe API key for front-end credits cards feature spec --- spec/features/consumer/account/cards_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/consumer/account/cards_spec.rb b/spec/features/consumer/account/cards_spec.rb index ce0b846d00f2..ed12543099f0 100644 --- a/spec/features/consumer/account/cards_spec.rb +++ b/spec/features/consumer/account/cards_spec.rb @@ -9,6 +9,7 @@ before do quick_login_as user + Stripe.api_key = "sk_test_xxxx" Spree::Config.set({stripe_connect_enabled: true}) stub_request(:get, "https://api.stripe.com/v1/customers/cus_AZNMJ").