1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/app/jobs/account_sync_job.rb
Zach Gollwitzer c6bdf49f10
Account::Sync model and test fixture simplifications (#968)
* Add sync model

* Fresh fixtures for sync tests

* Sync tests overhaul

* Fix entry tests

* Complete remaining model test updates

* Update system tests

* Update demo data task

* Add system tests back to PR checks

* More simplifications, add empty family to fixtures for easier testing
2024-07-10 11:22:59 -04:00

7 lines
150 B
Ruby

class AccountSyncJob < ApplicationJob
queue_as :default
def perform(account, start_date: nil)
account.sync(start_date: start_date)
end
end