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.30.3 test/stripe/balance_test.rb
stripe-1.30.2 test/stripe/balance_test.rb
stripe-1.30.1 test/stripe/balance_test.rb
stripe-1.30.0 test/stripe/balance_test.rb
stripe-1.29.1 test/stripe/balance_test.rb
stripe-1.29.0 test/stripe/balance_test.rb
stripe-1.28.1 test/stripe/balance_test.rb
stripe-1.28.0 test/stripe/balance_test.rb
stripe-1.27.2 test/stripe/balance_test.rb
stripe-1.27.1 test/stripe/balance_test.rb
stripe-1.27.0 test/stripe/balance_test.rb
stripe-1.26.0 test/stripe/balance_test.rb
stripe-1.25.0 test/stripe/balance_test.rb
stripe-1.24.0 test/stripe/balance_test.rb
stripe-1.23.0 test/stripe/balance_test.rb