mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
fix for the broken stripe mock in test
This commit is contained in:
parent
0b5b07aad4
commit
b2e1c8bb61
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ describe 'delete' do
|
||||||
@stripe_helper.create_plan id: 'free', amount: 0
|
@stripe_helper.create_plan id: 'free', amount: 0
|
||||||
|
|
||||||
customer = Stripe::Customer.create(
|
customer = Stripe::Customer.create(
|
||||||
card: @stripe_helper.generate_card_token
|
source: @stripe_helper.generate_card_token
|
||||||
)
|
)
|
||||||
|
|
||||||
subscription = customer.subscriptions.create plan: 'supporter'
|
subscription = customer.subscriptions.create plan: 'supporter'
|
||||||
|
|
Loading…
Add table
Reference in a new issue