mirror of
https://github.com/neocities/neocities.git
synced 2025-08-01 23:31:52 +02:00
more fixes for tests
This commit is contained in:
parent
8052844640
commit
9c6ed2d7c5
6 changed files with 17 additions and 34 deletions
|
@ -73,3 +73,11 @@ end
|
|||
FileUtils.mkdir_p p
|
||||
File.write File.join(p, '.gitignore'), '*'
|
||||
end
|
||||
|
||||
$stripe_helper = StripeMock.create_test_helper
|
||||
StripeMock.start
|
||||
|
||||
product = $stripe_helper.create_product name: 'supporter'
|
||||
$stripe_helper.create_plan id: 'supporter', amount: 500, product: product.id
|
||||
$stripe_helper.create_plan id: 'free', amount: 0, product: product.id
|
||||
$stripe_helper.create_plan id: 'special', amount: 0, product: product.id
|
Loading…
Add table
Add a link
Reference in a new issue