Sha256: 83c34db1501d880df76b4237ee83b74c3fe49218b5ecf8f2706ad6553c09a6a3

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe-1.22.0 test/stripe/balance_test.rb
stripe-1.21.0 test/stripe/balance_test.rb
stripe-1.20.4 test/stripe/balance_test.rb
stripe-1.20.3 test/stripe/balance_test.rb
stripe-1.20.2 test/stripe/balance_test.rb