From 1c14e2676ba33ddada62f0ea112a5f66f6191b61 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Thu, 17 Mar 2011 16:14:01 -0700 Subject: [PATCH] Fix another expectation --- spec/models/jobs/receive_local_batch_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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