mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
13 lines
380 B
Ruby
13 lines
380 B
Ruby
require File.expand_path('../../test_helper', __FILE__)
|
|
|
|
module Stripe
|
|
class BalanceTest < Test::Unit::TestCase
|
|
should "balance should be retrievable" do
|
|
stub_request(:get, "#{Stripe.api_base}/v1/balance").
|
|
to_return(body: make_response(make_balance))
|
|
balance = Stripe::Balance.retrieve
|
|
assert_equal('balance', balance['object'])
|
|
end
|
|
end
|
|
end
|