Skip to content

Commit

Permalink
Upgrade stripe-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Sep 22, 2018
1 parent ea09249 commit 9d64d31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sudo: false
env:
global:
# If changing this number, please also change it in `test/test_helper.rb`.
- STRIPE_MOCK_VERSION=0.30.0
- STRIPE_MOCK_VERSION=0.32.0

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion test/stripe/issuing/dispute_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DisputeTest < Test::Unit::TestCase
should "be creatable" do
dispute = Stripe::Issuing::Dispute.create(
reason: "fraudulent",
transaction: "ipi_123"
disputed_transaction: "ipi_123"
)
assert_requested :post, "#{Stripe.api_base}/v1/issuing/disputes"
assert dispute.is_a?(Stripe::Issuing::Dispute)
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
require ::File.expand_path("../test_data", __FILE__)

# If changing this number, please also change it in `.travis.yml`.
MOCK_MINIMUM_VERSION = "0.30.0".freeze
MOCK_MINIMUM_VERSION = "0.32.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 9d64d31

Please sign in to comment.