aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/test_case_test.rb
blob: 7d1702990e2890d9168565c12b96bfa52f1ca78b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'helper'
require 'jobs/hello_job'
require 'jobs/logging_job'
require 'jobs/nested_job'

class ActiveJobTestCaseTest < ActiveJob::TestCase
  def test_include_helper
    assert_includes self.class.ancestors, ActiveJob::TestHelper
  end

  def test_set_test_adapter
    assert_equal ActiveJob::QueueAdapters::TestAdapter, self.queue_adapter
  end
end