Module: ActiveJob::TestHelper::TestQueueAdapter::ClassMethods
- Defined in:
- lib/active_job/test_helper.rb
Instance Method Summary collapse
Instance Method Details
#disable_test_adapter ⇒ Object
27 28 29 |
# File 'lib/active_job/test_helper.rb', line 27 def disable_test_adapter self._test_adapter = nil end |
#enable_test_adapter(test_adapter) ⇒ Object
31 32 33 |
# File 'lib/active_job/test_helper.rb', line 31 def enable_test_adapter(test_adapter) self._test_adapter = test_adapter end |
#queue_adapter ⇒ Object
23 24 25 |
# File 'lib/active_job/test_helper.rb', line 23 def queue_adapter self._test_adapter.nil? ? super : self._test_adapter end |