class
ActiveJob::QueueAdapters::TestAdapter
rails latest stable
- Superclass: Object
Test 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
Attributes
| [RW] | at |
| [W] | enqueued_jobs |
| [RW] | filter |
| [RW] | perform_enqueued_at_jobs |
| [RW] | perform_enqueued_jobs |
| [W] | performed_jobs |
| [RW] | queue |
| [RW] | reject |
Files
- activejob/lib/active_job/queue_adapters/test_adapter.rb