mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
Only run Plaid syncs via webhook after initial sync
This commit is contained in:
parent
908b3e2489
commit
9e6e4b1ce6
5 changed files with 14 additions and 33 deletions
|
@ -20,10 +20,6 @@ class FamilyTest < ActiveSupport::TestCase
|
|||
.with(start_date: nil, parent_sync: family_sync)
|
||||
.times(manual_accounts_count)
|
||||
|
||||
PlaidItem.any_instance.expects(:sync_later)
|
||||
.with(start_date: nil, parent_sync: family_sync)
|
||||
.times(items_count)
|
||||
|
||||
@syncable.sync_data(family_sync, start_date: family_sync.start_date)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue