jenkins-plugin-runtime 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
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
|