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

Test suite cleanup

This commit is contained in:
Mike Perham 2012-03-17 13:32:52 -07:00
parent 18a458bf1f
commit 5ec8ac08b0
2 changed files with 1 additions and 5 deletions

View file

@ -42,10 +42,6 @@ class TestMiddleware < MiniTest::Unit::TestCase
end
it 'executes middleware in the proper order' do
Sidekiq::Middleware::Server::UniqueJobs.class_eval do
def call(*args); yield; end
end
recorder = []
msg = { 'class' => CustomWorker.to_s, 'args' => [recorder] }

View file

@ -8,6 +8,7 @@ class TestProcessor < MiniTest::Unit::TestCase
$errors = []
@boss = MiniTest::Mock.new
Celluloid.logger = nil
Sidekiq.redis = REDIS
end
class MockWorker
@ -49,4 +50,3 @@ class FakeAirbrake
end
end
Airbrake = FakeAirbrake