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/jobs
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
..
application_job.rb remove useless import 2016-12-30 19:40:26 +08:00
callback_job.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
gid_job.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
hello_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
inherited_job.rb use descendants to get class that inherited ActiveJob::Base 2016-09-05 09:21:10 +09:00
kwargs_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
logging_job.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
nested_job.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
overridden_logging_job.rb Fix jobs overriding AJ::Base#logger 2016-06-17 13:04:17 -04:00
provider_jid_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
queue_adapter_job.rb correctly set test adapter when configure the queue adapter on a per job (#26690) 2017-01-31 16:37:16 -05:00
queue_as_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
rescue_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00
retry_job.rb Yield the job instance so you have access to things like job.arguments on the custom logic after retries fail 2016-08-16 16:01:59 -07:00
translated_hello_job.rb applies new string literal convention in activejob/test 2016-08-06 18:41:18 +02:00