Skip to content

Commit

Permalink
Set dummy Stripe API key for front-end credits cards feature spec
Browse files Browse the repository at this point in the history
  • Loading branch information
oeoeaio committed Jun 28, 2017
1 parent 0805f60 commit 34735d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/features/consumer/account/cards_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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").
Expand Down

0 comments on commit 34735d1

Please sign in to comment.