1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

fix build?

This commit is contained in:
Mike Perham 2015-07-13 22:45:52 -07:00
parent 41d0f11f37
commit b06acf627d

View file

@ -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