stripe-ruby/test/stripe/application_fee_test.rb
2017-09-27 21:28:25 +02:00

13 lines
370 B
Ruby

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