The test adapter should be used only in testing. Along with
ActiveJob::TestHelper it makes a great tool to test your Rails application.
To use the test adapter set queue_adapter config to
Rails.application.config.active_job.queue_adapter = :test
# File activejob/lib/active_job/queue_adapters/test_adapter.rb, line 19 def enqueued_jobs @enqueued_jobs ||=  end
Provides a store of all the enqueued jobs with the TestAdapter so you can check them.
© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.