cukeq 0.0.1.dev4 → 0.0.1.dev5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cukeq.rb +1 -1
- data/lib/cukeq/version.rb +1 -1
- data/spec/cukeq/cukeq_spec.rb +2 -1
- data/spec/cukeq/scenario_runner_spec.rb +1 -1
- metadata +3 -3
data/lib/cukeq.rb
CHANGED
data/lib/cukeq/version.rb
CHANGED
data/spec/cukeq/cukeq_spec.rb
CHANGED
@@ -4,7 +4,8 @@ describe CukeQ do
|
|
4
4
|
it "identifies this CukeQ instance" do
|
5
5
|
Socket.stub!(:gethostname => "hostname")
|
6
6
|
Etc.stub!(:getlogin => "login")
|
7
|
+
Process.stub!(:pid => "pid")
|
7
8
|
|
8
|
-
CukeQ.identifier.should == "hostname-login"
|
9
|
+
CukeQ.identifier.should == "hostname-login-pid"
|
9
10
|
end
|
10
11
|
end
|
@@ -17,7 +17,7 @@ describe CukeQ::ScenarioRunner do
|
|
17
17
|
it "creates a configured and updated Scm instance" do
|
18
18
|
job = {'scm' => {'url' => 'git://example.com/foo/bar', 'revision' => 'some-revision'}}
|
19
19
|
|
20
|
-
CukeQ::Scm.should_receive(:new).with(
|
20
|
+
CukeQ::Scm.should_receive(:new).with(job['scm']['url'], CukeQ.root).
|
21
21
|
and_return(mock_scm = mock("scm"))
|
22
22
|
|
23
23
|
mock_scm.should_receive(:current_revision).and_return 'another-revision'
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.0.1.
|
9
|
+
- dev5
|
10
|
+
version: 0.0.1.dev5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jari Bakken
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-07 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|