cukeforker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cukeforker/runner.rb +1 -1
- data/lib/cukeforker/version.rb +1 -1
- data/spec/cukeforker/runner_spec.rb +2 -2
- metadata +1 -1
data/lib/cukeforker/runner.rb
CHANGED
data/lib/cukeforker/version.rb
CHANGED
@@ -20,8 +20,8 @@ module CukeForker
|
|
20
20
|
Process.stub(:pid => 1234)
|
21
21
|
|
22
22
|
WorkerQueue.should_receive(:new).with(max).and_return mock_queue
|
23
|
-
Worker.should_receive(:new).with("a", :json, "/tmp
|
24
|
-
Worker.should_receive(:new).with("b", :json, "/tmp
|
23
|
+
Worker.should_receive(:new).with("a", :json, "/tmp", []).and_return mock_workers[0]
|
24
|
+
Worker.should_receive(:new).with("b", :json, "/tmp", []).and_return mock_workers[1]
|
25
25
|
|
26
26
|
mock_queue.should_receive(:add_observer).once.with listeners.first
|
27
27
|
mock_queue.should_receive(:add).with mock_workers[0]
|