Sha256: 2ec811bc5448e346500dcf0cfd01906166a8da813e7667d016ec2b952d57faf3

Contents?: true

Size: 336 Bytes

Versions: 55

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(make_response(make_balance))
      balance = Stripe::Balance.retrieve
      assert_equal('balance', balance['object'])
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
stripe-1.44.0 test/stripe/balance_test.rb
stripe-1.43.1 test/stripe/balance_test.rb
stripe-1.43.0 test/stripe/balance_test.rb
stripe-1.42.0 test/stripe/balance_test.rb
stripe-1.41.0 test/stripe/balance_test.rb
stripe-1.40.0 test/stripe/balance_test.rb
stripe-1.39.0 test/stripe/balance_test.rb
stripe-1.38.0 test/stripe/balance_test.rb
stripe-1.37.0 test/stripe/balance_test.rb
stripe-1.36.2 test/stripe/balance_test.rb
stripe-1.36.1 test/stripe/balance_test.rb
stripe-1.36.0 test/stripe/balance_test.rb
stripe-1.35.1 test/stripe/balance_test.rb
stripe-1.35.0 test/stripe/balance_test.rb
stripe-1.34.0 test/stripe/balance_test.rb
stripe-1.33.1 test/stripe/balance_test.rb
stripe-1.33.0 test/stripe/balance_test.rb
stripe-1.32.1 test/stripe/balance_test.rb
stripe-1.32.0 test/stripe/balance_test.rb
stripe-1.31.0 test/stripe/balance_test.rb