Skip to Content Skip to Search

module ActiveJob::TestHelper::TestQueueAdapter::ClassMethods

Public instance methods

Source code GitHub
# File activejob/lib/active_job/test_helper.rb, line 27
def disable_test_adapter
  self._test_adapter = nil
end
Source code GitHub
# File activejob/lib/active_job/test_helper.rb, line 31
def enable_test_adapter(test_adapter)
  self._test_adapter = test_adapter
end
Source code GitHub
# File activejob/lib/active_job/test_helper.rb, line 23
def queue_adapter
  self._test_adapter.nil? ? super : self._test_adapter
end

Definition files