mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
Follows the path established in 2d75c8f by porting the rest of stripe-ruby's tests over to OpenAPI. There are a few other changes here where I've removed some tests that are duplicated or don't make much sense, or reorganized how we test certain things, but this commit is largely the same migration operation applied in bulk a few dozen test suites.
20 lines
478 B
Ruby
20 lines
478 B
Ruby
require File.expand_path('../../test_helper', __FILE__)
|
|
|
|
module Stripe
|
|
class AlipayAccountTest < Test::Unit::TestCase
|
|
FIXTURE = API_FIXTURES.fetch(:alipay_account)
|
|
|
|
should "raise on #retrieve" do
|
|
assert_raises NotImplementedError do
|
|
Stripe::AlipayAccount.retrieve FIXTURE[:id]
|
|
end
|
|
end
|
|
|
|
should "raise on #update" do
|
|
assert_raises NotImplementedError do
|
|
Stripe::AlipayAccount.update FIXTURE[:id], {}
|
|
end
|
|
end
|
|
end
|
|
end
|