spec/cukeforker/runner_spec.rb in cukeforker-0.0.9 vs spec/cukeforker/runner_spec.rb in cukeforker-0.1.0

- old
+ new

@@ -35,11 +35,11 @@ :out => out ).should be_kind_of(Runner) end it "sets up the VNC pool if :vnc => true" do - mock_pool = mock(VncServerPool, :add_observer => nil) - VncServerPool.should_receive(:new).with(2).and_return mock_pool + mock_pool = mock(VncTools::ServerPool, :add_observer => nil) + VncTools::ServerPool.should_receive(:new).with(2).and_return mock_pool VncListener.should_receive(:new).with(mock_pool).and_return mock(:update => nil) Runner.create([], :max => 2, :vnc => true) end