Method: ActiveJob::TestHelper#queue_adapter_for_test
- Defined in:
- activejob/lib/active_job/test_helper.rb
#queue_adapter_for_test ⇒ Object
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.
66 67 |
# File 'activejob/lib/active_job/test_helper.rb', line 66 def queue_adapter_for_test end |