Commit 8e5fef37 authored by Gilbert's avatar Gilbert
Browse files

Ensure stripe behavior

parent 16f0d138
......@@ -114,8 +114,8 @@ shared_examples 'Invoice API' do
expect(e.message).to eq("No upcoming invoices for customer: #{}") }
it 'works when customer has a subscription' do
plan = stripe_helper.create_plan()
it 'works when customer has a subscription', :live => true do
plan = stripe_helper.create_plan(:id => 'has_sub')
subscription = @customer.subscriptions.create(plan:
upcoming = Stripe::Invoice.upcoming(customer:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment