rails/activejob/test/support/integration
Alex Ghiculescu 639dab59dc Active Job: `async` adapter should always run jobs immediately if `immediate` set
This is an internal fix, not user facing. I noticed it while working on https://github.com/rails/rails/pull/48585.

The `async` adapter has an `immediate` option, which should only be used in tests. This option should tell the adapter to run jobs inline. This works correctly with `perform_later`, but it does not work with `enqueue_at`, which is what other internal mechanisms such as `retry_job` use.

This PR fixes this bug.
2023-07-03 09:02:51 +10:00
..
adapters Fix compatability between tests and Sidekiq 6.5 2023-01-08 20:41:59 -05:00
dummy_app_template.rb Use `try` only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
helper.rb Remove spring as a default installation option (#42997) 2021-08-12 12:31:18 +02:00
jobs_manager.rb [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment` 2017-07-11 13:12:32 +09:00
test_case_helpers.rb Active Job: `async` adapter should always run jobs immediately if `immediate` set 2023-07-03 09:02:51 +10:00