mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
15 lines
403 B
Ruby
15 lines
403 B
Ruby
# 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
|