123456789_123456789_123456789_123456789_123456789_

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 25

def disable_test_adapter
  self._test_adapter = nil
end

#enable_test_adapter(test_adapter)

[ GitHub ]

  
# File 'activejob/lib/active_job/test_helper.rb', line 29

def enable_test_adapter(test_adapter)
  self._test_adapter = test_adapter
end

#queue_adapter

[ GitHub ]

  
# File 'activejob/lib/active_job/test_helper.rb', line 21

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