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:
Zach Gollwitzer
2025-05-18 15:02:51 -04:00
committed by GitHub
parent f82f77466a
commit e26e5c5aec
7 changed files with 35 additions and 1 deletions

View File

@@ -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