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.58.0 test/stripe/balance_test.rb
stripe-1.57.1 test/stripe/balance_test.rb
stripe-1.57.0 test/stripe/balance_test.rb
stripe-1.56.2 test/stripe/balance_test.rb
stripe-1.56.1 test/stripe/balance_test.rb
stripe-1.56.0 test/stripe/balance_test.rb
stripe-1.55.1 test/stripe/balance_test.rb
stripe-1.55.0 test/stripe/balance_test.rb
stripe-1.54.0 test/stripe/balance_test.rb
stripe-1.53.0 test/stripe/balance_test.rb
stripe-1.52.0 test/stripe/balance_test.rb
stripe-1.51.1 test/stripe/balance_test.rb
stripe-1.51.0 test/stripe/balance_test.rb
stripe-1.50.1 test/stripe/balance_test.rb
stripe-1.50.0 test/stripe/balance_test.rb
stripe-1.49.0 test/stripe/balance_test.rb
stripe-1.48.0 test/stripe/balance_test.rb
stripe-1.47.0 test/stripe/balance_test.rb
stripe-1.46.0 test/stripe/balance_test.rb
stripe-1.45.0 test/stripe/balance_test.rb