Skip to content

Commit

Permalink
Removes reference to STRIPE_ACCOUNT
Browse files Browse the repository at this point in the history
THe connected account is created a few lines below, and this env variable is not needed
  • Loading branch information
filipefurtad0 committed Feb 20, 2024
1 parent 1609943 commit 9917ce0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/lib/stripe/credit_card_remover_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
let!(:enterprise) { create(:enterprise) }

describe "#remove", :vcr, :stripe_version do
let(:stripe_account_id) { ENV.fetch('STRIPE_ACCOUNT', nil) }

let(:stripe_account) {
create(:stripe_account, enterprise:, stripe_user_id: stripe_account_id)
}

let(:credit_card) { create(:credit_card, gateway_payment_profile_id: pm_card.id, user:) }

let(:pm_card) {
Expand Down

0 comments on commit 9917ce0

Please sign in to comment.