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/cases
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
..
adapter_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
argument_serialization_test.rb modernizes hash syntax in activejob 2016-08-06 19:36:54 +02:00
callbacks_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
exceptions_test.rb fixes remaining RuboCop issues [Vipul A M, Xavier Noria] 2016-09-01 23:41:49 +02:00
job_serialization_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
logging_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
queue_adapter_test.rb correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
queue_naming_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
queue_priority_test.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
queuing_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
rescue_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
test_case_test.rb code gardening: removes redundant selfs 2016-08-08 01:12:38 +02:00
test_helper_test.rb correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
translation_test.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00