spec/jstd-runner/runner_spec.rb in jstd-runner-0.0.7 vs spec/jstd-runner/runner_spec.rb in jstd-runner-0.0.8
- old
+ new
@@ -13,10 +13,10 @@
it "runs and watches the server" do
browser = mock(Browser, :capture => nil).as_null_object
runner.stub!(:browser).and_return(browser)
server = mock(Server, :host => "localhost", :port => 4224)
- Server.should_receive(:new).with(4224).and_return(server)
+ Server.should_receive(:new).with(4224, nil).and_return(server)
server.should_receive(:start)
server.should_receive(:monitor).with(10)
runner.run
end