1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test/test_job.rb
2021-08-20 11:06:00 -07:00

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