spec/jstd-runner/runner_spec.rb in jstd-runner-0.0.3 vs spec/jstd-runner/runner_spec.rb in jstd-runner-0.0.4
- old
+ new
@@ -9,10 +9,10 @@
runner.stub!(:at_exit)
runner.stub!(:trap)
}
it "runs and watches the server" do
- browser = mock(Browser).as_null_object
+ 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(:start)