stripe-ruby/test/stripe/balance_test.rb
Brian Krausz 6976393e9e Fix singleton retrieval
Minor fix so just pushing to master

Fixes #214

CC @russelldavis
2015-03-05 12:27:45 -08: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(test_response(test_balance))
balance = Stripe::Balance.retrieve
assert_equal('balance', balance['object'])
end
end
end