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

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.
This commit is contained in:
Ryan Davis 2013-12-10 15:33:53 -08:00
parent 96261872fd
commit b531d4ce10

View file

@ -11,7 +11,7 @@ class TestManager < Sidekiq::Test
end end
it 'assigns work to a processor' do it 'assigns work to a processor' do
uow = Minitest::Mock.new uow = Object.new
processor = Minitest::Mock.new processor = Minitest::Mock.new
processor.expect(:async, processor, []) processor.expect(:async, processor, [])
processor.expect(:process, nil, [uow]) processor.expect(:process, nil, [uow])