mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Partial sync interface
This commit is contained in:
parent
6e202bd7ec
commit
7a8ac82823
13 changed files with 34 additions and 94 deletions
|
@ -15,12 +15,12 @@ class Family::SyncerTest < ActiveSupport::TestCase
|
|||
|
||||
Account.any_instance
|
||||
.expects(:sync_later)
|
||||
.with(parent_sync: family_sync, window_start_date: nil, window_end_date: nil)
|
||||
.with(parent_sync: family_sync)
|
||||
.times(manual_accounts_count)
|
||||
|
||||
PlaidItem.any_instance
|
||||
.expects(:sync_later)
|
||||
.with(parent_sync: family_sync, window_start_date: nil, window_end_date: nil)
|
||||
.with(parent_sync: family_sync)
|
||||
.times(items_count)
|
||||
|
||||
syncer.perform_sync(family_sync)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue