mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 08:14:49 +00:00
Require upstream item removal to delete plaid item
This commit is contained in:
@@ -40,6 +40,8 @@ class UsersControllerTest < ActionDispatch::IntegrationTest
|
||||
budget = budgets(:one)
|
||||
plaid_item = plaid_items(:one)
|
||||
|
||||
Provider::Plaid.any_instance.expects(:remove_item).with(plaid_item.access_token).once
|
||||
|
||||
perform_enqueued_jobs(only: FamilyResetJob) do
|
||||
delete reset_user_url(@user)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user