From b531d4ce102f08acda5c9877d6e2beaf4d4b1ba7 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Tue, 10 Dec 2013 15:33:53 -0800 Subject: [PATCH] Use Object.new for "any old object" in tests. I don't have this project set up for testing, so I'm submitting for travis to test it for me. --- test/test_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_manager.rb b/test/test_manager.rb index 584000fb..ccf21c28 100644 --- a/test/test_manager.rb +++ b/test/test_manager.rb @@ -11,7 +11,7 @@ class TestManager < Sidekiq::Test end it 'assigns work to a processor' do - uow = Minitest::Mock.new + uow = Object.new processor = Minitest::Mock.new processor.expect(:async, processor, []) processor.expect(:process, nil, [uow])