Skip to content

Commit

Permalink
Merge pull request sidekiq#1390 from zenspider/patch-1
Browse files Browse the repository at this point in the history
Use Object.new for "any old object" in tests.
  • Loading branch information
mperham committed Dec 10, 2013
2 parents 9626187 + b531d4c commit 8f2ae2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 8f2ae2b

Please sign in to comment.