Skip to content

Commit

Permalink
Merge pull request #638 from stripe/brandur-stripe-mock-v0.12.0
Browse files Browse the repository at this point in the history
Upgrade `stripe-mock` to v0.12.0
  • Loading branch information
brandur-stripe authored Apr 10, 2018
2 parents f6e542e + 93503dc commit 0b54bf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sudo: false

env:
global:
- STRIPE_MOCK_VERSION=0.8.0
- STRIPE_MOCK_VERSION=0.12.0

cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion test/stripe/account_external_accounts_operations_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class AccountExternalAccountsOperationsTest < Test::Unit::TestCase
@external_account_id
)
assert_requested :delete, "#{Stripe.api_base}/v1/accounts/#{@account_id}/external_accounts/#{@external_account_id}"
assert external_account.is_a?(Stripe::BankAccount)
assert external_account.deleted
assert_equal @external_account_id, external_account.id
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

require File.expand_path("../test_data", __FILE__)

MOCK_MINIMUM_VERSION = "0.4.0".freeze
MOCK_MINIMUM_VERSION = "0.12.0".freeze
MOCK_PORT = ENV["STRIPE_MOCK_PORT"] || 12_111

# Disable all real network connections except those that are outgoing to
Expand Down

0 comments on commit 0b54bf7

Please sign in to comment.