Skip to content

Commit

Permalink
fix build?
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jul 14, 2015
1 parent 41d0f11 commit b06acf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_rails.rb
Expand Up @@ -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
Expand Down

0 comments on commit b06acf6

Please sign in to comment.