1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test
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
..
adapters normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
cases correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
integration Added instance variable @queue to JobWrapper. 2016-08-19 17:10:27 +09:00
jobs correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
models Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
support make backburner integration test to work 2017-01-28 11:34:28 +09:00
helper.rb Output adapter being tested. 2016-12-12 21:52:04 +01:00