Skip to content

Commit

Permalink
Can use perform_all_later with Rails 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fractaledmind committed Nov 1, 2024
1 parent e3cab44 commit 1e9ca69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/crucibles/awaiting_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def perform
def enqueue_jobs
job_1 = ChildJob1.new(@execution)
job_2 = ChildJob2.new(@execution)
ActiveJob.perform_all_later(job_1, job_2)
job_1.enqueue
job_2.enqueue
# ActiveJob.perform_all_later(job_1, job_2)

@ctx[:job_ids] = [job_1.job_id, job_2.job_id]
@ctx[job_1.job_id] = false
Expand Down

0 comments on commit 1e9ca69

Please sign in to comment.