diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bf758c50..ccddf654 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v276 \ No newline at end of file +v277 \ No newline at end of file diff --git a/test/stripe/generated_examples_test.rb b/test/stripe/generated_examples_test.rb index 6468363c..ab147194 100644 --- a/test/stripe/generated_examples_test.rb +++ b/test/stripe/generated_examples_test.rb @@ -2020,6 +2020,20 @@ module Stripe assert_requested :post, "#{Stripe.api_base}/v1/subscription_schedules/sub_sched_xxxxxxxxxxxxx" end end + context "Tax.Calculation.list_line_items" do + should "support requests with args: calculation" do + Stripe::Tax::Calculation.list_line_items("xxx") + assert_requested :get, "#{Stripe.api_base}/v1/tax/calculations/xxx/line_items?" + end + end + context "Tax.Transaction.create_from_calculation" do + should "support requests with args: calculation, reference" do + Stripe::Tax::Transaction.create_from_calculation( + { calculation: "xxx", reference: "yyy" } + ) + assert_requested :post, "#{Stripe.api_base}/v1/tax/transactions/create_from_calculation" + end + end context "TaxCode.list" do should "support requests with args: limit" do Stripe::TaxCode.list({ limit: 3 })