Skip to content

Commit

Permalink
reset api_version
Browse files Browse the repository at this point in the history
  • Loading branch information
tansengming committed Aug 8, 2024
1 parent fcc48ef commit 295a1a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/plan_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 295a1a3

Please sign in to comment.