Sha256: ce30defb616f41b3edc2e9c62e82206eba031fbebaaf5fa5a9e5b4fbde570be2

Contents?: true

Size: 403 Bytes

Versions: 30

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require ::File.expand_path("../../test_helper", __FILE__)

module Stripe
  class ApplicationFeeTest < Test::Unit::TestCase
    should "be listable" do
      fees = Stripe::ApplicationFee.list
      assert_requested :get, "#{Stripe.api_base}/v1/application_fees"
      assert fees.data.is_a?(Array)
      assert fees.data[0].is_a?(Stripe::ApplicationFee)
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
stripe-4.12.0 test/stripe/application_fee_test.rb
stripe-4.11.0 test/stripe/application_fee_test.rb
stripe-4.10.0 test/stripe/application_fee_test.rb
stripe-4.9.1 test/stripe/application_fee_test.rb
stripe-4.9.0 test/stripe/application_fee_test.rb
stripe-4.8.1 test/stripe/application_fee_test.rb
stripe-4.8.0 test/stripe/application_fee_test.rb
stripe-4.7.1 test/stripe/application_fee_test.rb
stripe-4.7.0 test/stripe/application_fee_test.rb
stripe-4.6.0 test/stripe/application_fee_test.rb
stripe-4.5.0 test/stripe/application_fee_test.rb
stripe-4.4.1 test/stripe/application_fee_test.rb
stripe-4.4.0 test/stripe/application_fee_test.rb
stripe-4.3.0 test/stripe/application_fee_test.rb
stripe-4.2.0 test/stripe/application_fee_test.rb
stripe-4.1.0 test/stripe/application_fee_test.rb
stripe-4.0.3 test/stripe/application_fee_test.rb
stripe-4.0.2 test/stripe/application_fee_test.rb
stripe-4.0.1 test/stripe/application_fee_test.rb
stripe-4.0.0 test/stripe/application_fee_test.rb