跳至内容 跳至搜索
方法
D
E
Q

实例公共方法

disable_test_adapter()

# File activejob/lib/active_job/test_helper.rb, line 27
def disable_test_adapter
  self._test_adapter = nil
end

enable_test_adapter(test_adapter)

# File activejob/lib/active_job/test_helper.rb, line 31
def enable_test_adapter(test_adapter)
  self._test_adapter = test_adapter
end

queue_adapter()

# File activejob/lib/active_job/test_helper.rb, line 23
def queue_adapter
  self._test_adapter.nil? ? super : self._test_adapter
end