mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
80dc309821
The `ActiveJob::TestHelper` replace the adapter to test adapter in `before_setup`. It gets the target class using the `descendants`, but if the test target job class is not loaded, will not be a replacement of the adapter. Therefore, instead of replacing with `before_setup`, modified to replace when setting adapter. Fixes #26360 |
||
---|---|---|
.. | ||
active_job | ||
rails/generators/job | ||
active_job.rb |