mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix build?
This commit is contained in:
parent
41d0f11f37
commit
b06acf627d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class TestRails < Sidekiq::Test
|
|||
it 'does not allow Sidekiq::Worker in AJ::Base classes' do
|
||||
ex = assert_raises ArgumentError do
|
||||
c = Class.new(ActiveJob::Base)
|
||||
c.include Sidekiq::Worker
|
||||
c.send(:include, Sidekiq::Worker)
|
||||
end
|
||||
assert_includes ex.message, "cannot include"
|
||||
end if $HAS_AJ
|
||||
|
|
Loading…
Reference in a new issue