File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,10 @@ def after_teardown # :nodoc:
54
54
queue_adapter_changed_jobs . each { |klass | klass . disable_test_adapter }
55
55
end
56
56
57
- # Specifies the queue adapter to use with all Active Job test helpers.
58
- #
59
- # Returns an instance of the queue adapter and defaults to
60
- # ActiveJob::QueueAdapters::TestAdapter.
61
- #
62
- # Note: The adapter provided by this method must provide some additional
63
- # methods from those expected of a standard ActiveJob::QueueAdapter
64
- # in order to be used with the Active Job test helpers. Refer to
65
- # ActiveJob::QueueAdapters::TestAdapter.
57
+ # Returns a queue adapter instance to use with all Active Job test helpers.
58
+ # By default, returns an instance of ActiveJob::QueueAdapters::TestAdapter.
59
+ # Override this method to specify a different adapter. The adapter must
60
+ # implement the same interface as ActiveJob::QueueAdapters::TestAdapter.
66
61
def queue_adapter_for_test
67
62
ActiveJob ::QueueAdapters ::TestAdapter . new
68
63
end
You can’t perform that action at this time.
0 commit comments