jenkins-plugin-runtime 0.1.7 → 0.1.8
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/jenkins/filepath.rb
CHANGED
data/lib/jenkins/launcher.rb
CHANGED
@@ -17,6 +17,12 @@ describe Jenkins::FilePath do
|
|
17
17
|
(create(".") + "foo" + "bar").to_s.should == "foo/bar"
|
18
18
|
end
|
19
19
|
|
20
|
+
it "returns child for join" do
|
21
|
+
create('.').join('foo').to_s.should == "foo"
|
22
|
+
create('.').join('foo', 'bar').to_s.should == "foo/bar"
|
23
|
+
create('.').join('foo', 'bar', 'baz').to_s.should == "foo/bar/baz"
|
24
|
+
end
|
25
|
+
|
20
26
|
it "returns path for to_s" do
|
21
27
|
create(".").to_s.should == "."
|
22
28
|
end
|