mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Auto sync preference, max limit on account CSV imports (#2259)
* Auto sync preference, max limit on account CSV imports * MaxRowCountExceededError
This commit is contained in:
parent
f82f77466a
commit
e26e5c5aec
7 changed files with 35 additions and 1 deletions
|
@ -38,4 +38,12 @@ class AutoSyncTest < ActionDispatch::IntegrationTest
|
|||
get root_path
|
||||
end
|
||||
end
|
||||
|
||||
test "does not auto-sync if preference is disabled" do
|
||||
@family.update!(auto_sync_on_login: false)
|
||||
|
||||
assert_no_difference "Sync.count" do
|
||||
get root_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue