method
queue_adapter_for_test
v8.0.0 -
Show latest stable
- Class:
ActiveJob::TestHelper
queue_adapter_for_test()public
Returns a queue adapter instance to use with all Active Job test helpers. By default, returns an instance of ActiveJob::QueueAdapters::TestAdapter. Override this method to specify a different adapter. The adapter must implement the same interface as ActiveJob::QueueAdapters::TestAdapter.