mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user