There was an error while loading. Please reload this page.
1 parent d217afc commit 26f9d79Copy full SHA for 26f9d79
test/plan_builder_spec.rb
@@ -203,6 +203,7 @@
203
describe 'when none exists on stripe.com' do
204
let(:headers) { load_request_fixture('stripe_plans_headers_2017.json') }
205
before do
206
+ Stripe.api_version = '2018-02-04'
207
Stripe::Plan.stubs(:retrieve).raises(Stripe::InvalidRequestError.new("not found", "id"))
208
209
stub_request(:get, "https://api.stripe.com/v1/plans").
0 commit comments