mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Update minimum stripe-mock version to 0.94.0 (#935)
The params for AccountLink changed in `v0.93.0`, which will cause the test suite to fail unless `stripe-mock` is pinned to an earlier version. Fixes #934
This commit is contained in:
parent
9cf59214f3
commit
f240405810
@ -17,7 +17,7 @@ sudo: false
|
||||
env:
|
||||
global:
|
||||
# If changing this number, please also change it in `test/test_helper.rb`.
|
||||
- STRIPE_MOCK_VERSION=0.90.0
|
||||
- STRIPE_MOCK_VERSION=0.94.0
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
@ -7,9 +7,9 @@ module Stripe
|
||||
should "be creatable" do
|
||||
link = Stripe::AccountLink.create(
|
||||
account: "acct_123",
|
||||
failure_url: "https://stripe.com/failure",
|
||||
success_url: "https://stripe.com/success",
|
||||
type: "custom_account_verification"
|
||||
refresh_url: "https://stripe.com/refresh",
|
||||
return_url: "https://stripe.com/return",
|
||||
type: "account_onboarding"
|
||||
)
|
||||
assert_requested :post, "#{Stripe.api_base}/v1/account_links"
|
||||
assert link.is_a?(Stripe::AccountLink)
|
||||
|
@ -16,7 +16,7 @@ require ::File.expand_path("test_data", __dir__)
|
||||
require ::File.expand_path("stripe_mock", __dir__)
|
||||
|
||||
# If changing this number, please also change it in `.travis.yml`.
|
||||
MOCK_MINIMUM_VERSION = "0.90.0"
|
||||
MOCK_MINIMUM_VERSION = "0.94.0"
|
||||
MOCK_PORT = Stripe::StripeMock.start
|
||||
|
||||
# Disable all real network connections except those that are outgoing to
|
||||
|
Loading…
x
Reference in New Issue
Block a user