Closed toshimaru closed 1 week ago
I think perform_jobs should be perform_enqueued_jobs, so I fixed the documentation.
perform_jobs
perform_enqueued_jobs
test "account is charged" do perform_enqueued_jobs do BillingJob.perform_later(account, product) end assert account.reload.charged_for?(product) end
ref. Testing Rails Applications — Ruby on Rails Guides
Thanks!
I think
perform_jobs
should beperform_enqueued_jobs
, so I fixed the documentation.ref. Testing Rails Applications — Ruby on Rails Guides