Sha256: c3dfaeed7dbd52101a86e3af6c37ec26ed7ef5f4ae11135b9074e93af26476a7

Contents?: true

Size: 401 Bytes

Versions: 10

Compression:

Stored size: 401 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

10 entries across 10 versions & 1 rubygems

Version Path
stripe-3.23.0 test/stripe/application_fee_test.rb
stripe-3.22.0 test/stripe/application_fee_test.rb
stripe-3.21.0 test/stripe/application_fee_test.rb
stripe-3.20.0 test/stripe/application_fee_test.rb
stripe-3.19.0 test/stripe/application_fee_test.rb
stripe-3.18.0 test/stripe/application_fee_test.rb
stripe-3.17.2 test/stripe/application_fee_test.rb
stripe-3.17.1 test/stripe/application_fee_test.rb
stripe-3.17.0 test/stripe/application_fee_test.rb
stripe-3.15.0 test/stripe/application_fee_test.rb