module ActiveJob::TestHelper::TestQueueAdapter::ClassMethods

def disable_test_adapter

def disable_test_adapter
  self._test_adapter = nil
end

def enable_test_adapter(test_adapter)

def enable_test_adapter(test_adapter)
  self._test_adapter = test_adapter
end

def queue_adapter

def queue_adapter
  self._test_adapter.nil? ? super : self._test_adapter
end