mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
12 lines
309 B
Ruby
12 lines
309 B
Ruby
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
|