diff --git a/test/stripe/account_external_accounts_operations_test.rb b/test/stripe/account_external_accounts_operations_test.rb index 4af6d18f2..94ff50e00 100644 --- a/test/stripe/account_external_accounts_operations_test.rb +++ b/test/stripe/account_external_accounts_operations_test.rb @@ -48,7 +48,8 @@ class AccountExternalAccountsOperationsTest < Test::Unit::TestCase @external_account_id ) assert_requested :delete, "#{Stripe.api_base}/v1/accounts/#{@account_id}/external_accounts/#{@external_account_id}" - assert external_account.is_a?(Stripe::BankAccount) + assert external_account.deleted + assert_equal @external_account_id, external_account.id end end