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 |
||
---|---|---|
.. | ||
application_job.rb | ||
callback_job.rb | ||
gid_job.rb | ||
hello_job.rb | ||
inherited_job.rb | ||
kwargs_job.rb | ||
logging_job.rb | ||
nested_job.rb | ||
overridden_logging_job.rb | ||
provider_jid_job.rb | ||
queue_adapter_job.rb | ||
queue_as_job.rb | ||
rescue_job.rb | ||
retry_job.rb | ||
translated_hello_job.rb |