class QueueAdapterJobTest

Public Instance Methods

after_teardown() click to toggle source
# File activejob/test/cases/test_helper_test.rb, line 921
def after_teardown
  ActiveSupport::Dependencies.autoload_paths = @original_autoload_paths
  super
end
before_setup() click to toggle source
Calls superclass method ActionDispatch::DrawOnce#before_setup
# File activejob/test/cases/test_helper_test.rb, line 915
def before_setup
  @original_autoload_paths = ActiveSupport::Dependencies.autoload_paths
  ActiveSupport::Dependencies.autoload_paths = %w(test/jobs)
  super
end
test_queue_adapter_is_test_adapter() click to toggle source
# File activejob/test/cases/test_helper_test.rb, line 926
def test_queue_adapter_is_test_adapter
  assert_instance_of ActiveJob::QueueAdapters::TestAdapter, QueueAdapterJob.queue_adapter
end