mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 07:41: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
|
@ -28,17 +28,6 @@ describe '/admin' do
|
|||
describe 'supporter upgrade' do
|
||||
include Capybara::DSL
|
||||
|
||||
before do
|
||||
stripe_helper = StripeMock.create_test_helper
|
||||
StripeMock.start
|
||||
stripe_helper.create_product(id: 'supporter', name: 'Supporter Plan')
|
||||
@plan = stripe_helper.create_plan(product: 'supporter', amount: 0)
|
||||
end
|
||||
|
||||
after do
|
||||
StripeMock.stop
|
||||
end
|
||||
|
||||
it 'works for valid site' do
|
||||
within(:css, '#upgradeToSupporter') do
|
||||
fill_in 'username', with: @site.username
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue