Module: ActiveJob::TestHelper::TestQueueAdapter::ClassMethods
Relationships & Source Files | |
Defined in: | activejob/lib/active_job/test_helper.rb |
Instance Method Summary
Instance Method Details
#disable_test_adapter
[ GitHub ]# File 'activejob/lib/active_job/test_helper.rb', line 27
def disable_test_adapter self._test_adapter = nil end
#enable_test_adapter(test_adapter)
[ GitHub ]# File 'activejob/lib/active_job/test_helper.rb', line 31
def enable_test_adapter(test_adapter) self._test_adapter = test_adapter end
#queue_adapter
[ GitHub ]# File 'activejob/lib/active_job/test_helper.rb', line 23
def queue_adapter self._test_adapter.nil? ? super : self._test_adapter end