How to Test Background Jobs with Active Job Discussion
Worth noting you can just pass the
person variable into the job rather than having to pass in
person_id and then look it up yourself. It'll use GlobaIID under the hood to automatically look up the model for you when the job is running.