cukeforker 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cukeforker/version.rb +1 -1
- data/lib/cukeforker/worker.rb +3 -0
- data/spec/cukeforker/worker_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4c1ca379107e406de49b6c9c7a8ee9a7c155c43
|
4
|
+
data.tar.gz: 4048ab9a0dd8a85ea3354d303b4f71d100f27251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 461c96e056686d416c4add4dcbd268d99dfc164d158fcbe4cf20e6c822ea92ef97a73617f1b21aee5b19bf18bbfe6eaac73d2be2894569820826f5add6dbbdf6
|
7
|
+
data.tar.gz: c947910a873f8879e4b9c2879f23d275d7e332bcb5e8950153bfd46990f67d909676378bc80b8880faa63a06cf0f0b069ddae29d759c0c46dd11ff3106dc3d0e
|
data/lib/cukeforker/version.rb
CHANGED
data/lib/cukeforker/worker.rb
CHANGED
@@ -60,6 +60,8 @@ module CukeForker
|
|
60
60
|
|
61
61
|
it "runs a passing cuke and exits with 0" do
|
62
62
|
Process.should_receive(:fork).and_yield.and_return(1234)
|
63
|
+
Process.should_receive(:setpgid).with(0,0)
|
64
|
+
|
63
65
|
$stdout.should_receive(:reopen).with("some/path/some_feature.stdout")
|
64
66
|
$stderr.should_receive(:reopen).with("some/path/some_feature.stderr")
|
65
67
|
|
@@ -71,6 +73,8 @@ module CukeForker
|
|
71
73
|
|
72
74
|
it "runs a failing cuke and exits with 1" do
|
73
75
|
Process.should_receive(:fork).and_yield.and_return(1234)
|
76
|
+
Process.should_receive(:setpgid).with(0,0)
|
77
|
+
|
74
78
|
$stdout.should_receive(:reopen).with("some/path/some_feature.stdout")
|
75
79
|
$stderr.should_receive(:reopen).with("some/path/some_feature.stderr")
|
76
80
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukeforker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jari Bakken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|