1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/lib
Yuji Yaginuma 80dc309821 correctly set test adapter when configure the queue adapter on a per job (#26690)
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
2017-01-31 16:37:16 -05:00
..
active_job correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
rails/generators/job self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
active_job.rb Bump license years for 2017 2016-12-31 08:34:08 -05:00