stripe-ruby/test/stripe/balance_test.rb
2015-07-02 11:51:38 -07:00

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