mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
13 lines
255 B
Ruby
13 lines
255 B
Ruby
require_relative "helper"
|
|
require "sidekiq/job"
|
|
|
|
class TestJob < Minitest::Test
|
|
class SomeJob
|
|
include Sidekiq::Job
|
|
end
|
|
|
|
def test_sidekiq_job
|
|
SomeJob.perform_async
|
|
assert_equal "TestJob::SomeJob", Sidekiq::Queue.new.first.klass
|
|
end
|
|
end
|