diff --git a/test/plan_builder_spec.rb b/test/plan_builder_spec.rb index 84558a1..e95da59 100644 --- a/test/plan_builder_spec.rb +++ b/test/plan_builder_spec.rb @@ -210,6 +210,7 @@ with(headers: { 'Authorization'=>'Bearer XYZ',}). to_return(status: 200, body: load_request_fixture('stripe_plans.json'), headers: JSON.parse(headers)) end + after { Stripe.api_version = nil } it 'creates the plan online' do Stripe::Plan.expects(:create).with(