mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8a73f4b5b9
1. The :test adapter wasn't going through a full cycle of serialize/deserialize when performing jobs. Now it does 2. Regular AJ tests were not run for the :test adapter. Now they are 3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires the file that implements that method. Now it does
3 lines
159 B
Ruby
3 lines
159 B
Ruby
ActiveJob::Base.queue_adapter = :test
|
|
ActiveJob::Base.queue_adapter.perform_enqueued_jobs = true
|
|
ActiveJob::Base.queue_adapter.perform_enqueued_at_jobs = true
|