mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-09-30 00:01:09 -04:00
14 lines
342 B
Ruby
14 lines
342 B
Ruby
# frozen_string_literal: true
|
|
|
|
require ::File.expand_path("../../test_helper", __FILE__)
|
|
|
|
module Stripe
|
|
class BalanceTest < Test::Unit::TestCase
|
|
should "be retrievable" do
|
|
balance = Stripe::Balance.retrieve
|
|
assert_requested :get, "#{Stripe.api_base}/v1/balance"
|
|
assert balance.is_a?(Stripe::Balance)
|
|
end
|
|
end
|
|
end
|