class TestAdapter
Ruby on Rails 5.2.8.1
Since v4.2.9Test adapter for Active Job
The test adapter should be used only in testing. Along with ActiveJob::TestCase and ActiveJob::TestHelper it makes a great tool to test your Rails application.
To use the test adapter set queue_adapter config to :test.
Rails.application.config.active_job.queue_adapter = :test
Inherits from
Attributes
- ActiveJob::QueueAdapters::TestAdapter#enqueued_jobs
- ActiveJob::QueueAdapters::TestAdapter#filter
- ActiveJob::QueueAdapters::TestAdapter#performed_jobs
- ActiveJob::QueueAdapters::TestAdapter#perform_enqueued_at_jobs
- ActiveJob::QueueAdapters::TestAdapter#perform_enqueued_jobs
- ActiveJob::QueueAdapters::TestAdapter#reject
Methods (defined here)
Private methods
(3)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options