aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/test_case_test.rb
blob: 1d0fdbd22dcc160280931c45afdb3dd2807ee869 (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_instance_of ActiveJob::QueueAdapters::TestAdapter, self.queue_adapter
  end
end