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:
parent
96261872fd
commit
b531d4ce10
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue