spec/jcukeforker/runner_spec.rb in jcukeforker-0.2.9 vs spec/jcukeforker/runner_spec.rb in jcukeforker-0.2.10
- old
+ new
@@ -45,11 +45,10 @@
end
context "running" do
let(:listener) { double(AbstractListener, :update => nil) }
let(:queue) { double(Queue, :has_failures? => false) }
- let(:status_server0) { double(StatusServer, :run => nil) }
- let(:status_server) { double(StatusServer, :async => status_server0, :shutdown => nil) }
+ let(:status_server) { double(StatusServer, :run => nil, :shutdown => nil) }
let(:process) { double(ChildProcess, :start => nil, :wait => nil) }
let(:work_dir) { '/tmp/jcukeforker-testdir' }
let(:vnc_pool) { double(VncTools::ServerPool, :stop => nil) }
let(:mock_task_manager) { double(TaskManager, :update => nil, :has_failures? => false) }
let(:runner) { Runner.new(status_server, [process], work_dir, vnc_pool, 0, mock_task_manager) }