diff --git a/spec/models/jobs/receive_local_batch_spec.rb b/spec/models/jobs/receive_local_batch_spec.rb index f569d2df7..837038cb0 100644 --- a/spec/models/jobs/receive_local_batch_spec.rb +++ b/spec/models/jobs/receive_local_batch_spec.rb @@ -36,7 +36,7 @@ describe Job::ReceiveLocalBatch do SocketsController.stub(:new).and_return(@controller) end it 'sockets to each user' do - @controller.should_receive(:outgoing).with(bob.id, @post) + @controller.should_receive(:outgoing).with(bob.id, @post, {}) Job::ReceiveLocalBatch.socket_to_users(@post, [bob.id]) end end