mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
12 lines
336 B
Ruby
12 lines
336 B
Ruby
require File.expand_path('../../test_helper', __FILE__)
|
|
|
|
module Stripe
|
|
class BalanceTest < Test::Unit::TestCase
|
|
should "balance should be retrievable" do
|
|
@mock.expects(:get).once.returns(make_response(make_balance))
|
|
balance = Stripe::Balance.retrieve
|
|
assert_equal('balance', balance['object'])
|
|
end
|
|
end
|
|
end
|