cukeforker 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module CukeForker
39
39
 
40
40
  max = opts[:max]
41
41
  format = opts[:format]
42
- out = File.join opts[:out], Process.pid.to_s
42
+ out = File.join opts[:out]
43
43
  listeners = Array(opts[:notify])
44
44
  extra_args = Array(opts[:extra_args])
45
45
 
@@ -1,3 +1,3 @@
1
1
  module CukeForker
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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/1234", []).and_return mock_workers[0]
24
- Worker.should_receive(:new).with("b", :json, "/tmp/1234", []).and_return mock_workers[1]
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]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cukeforker
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jari Bakken