diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 08b883915..aafdd30ff 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v551 \ No newline at end of file +v557 \ No newline at end of file diff --git a/test/stripe/generated_examples_test.rb b/test/stripe/generated_examples_test.rb index e7830b91c..b03c50f1b 100644 --- a/test/stripe/generated_examples_test.rb +++ b/test/stripe/generated_examples_test.rb @@ -2176,6 +2176,12 @@ class CodegennedExampleTest < Test::Unit::TestCase assert_requested :post, "#{Stripe.api_base}/v1/subscriptions" end end + context "Subscription.delete_discount" do + should "support requests with args: subscription_exposed_id" do + Stripe::Subscription.delete_discount("sub_xyz") + assert_requested :delete, "#{Stripe.api_base}/v1/subscriptions/sub_xyz/discount?" + end + end context "Subscription.list" do should "support requests with args: limit" do Stripe::Subscription.list({ limit: 3 })