stripe-ruby/test/stripe/mandate_test.rb
2019-11-05 19:36:41 -08:00

15 lines
391 B
Ruby

# frozen_string_literal: true
require ::File.expand_path("../test_helper", __dir__)
module Stripe
class MandateTest < Test::Unit::TestCase
should "be retrievable" do
schedule = Stripe::Mandate.retrieve("mandate_123")
assert_requested :get,
"#{Stripe.api_base}/v1/mandates/mandate_123"
assert schedule.is_a?(Stripe::Mandate)
end
end
end