Fix another expectation

This commit is contained in:
Raphael Sofaer 2011-03-17 16:14:01 -07:00
parent e5f9876256
commit 1c14e2676b

View file

@ -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