Skip to content

Commit

Permalink
Fix one test that was incorrectly expecting a non-deleted object back
Browse files Browse the repository at this point in the history
  • Loading branch information
brandur committed Apr 10, 2018
1 parent 31ac109 commit 93503dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/stripe/account_external_accounts_operations_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 93503dc

Please sign in to comment.