summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-08-29 23:32:34 -0700
committerAdam Edwards <adamed@opscode.com>2014-08-30 12:31:12 -0700
commit24fa6c0dc214797a351f71e7bd1ece74f685610b (patch)
tree0426e2b91b57067952af7979dba8e78a082dfceb
parentd6c6c598d124b85034e7cbf5841b28f9eb58d0a7 (diff)
downloadchef-24fa6c0dc214797a351f71e7bd1ece74f685610b.tar.gz
Unit spec, Ruby Pathname class on Windows does not remove leading duplicate path separators
-rw-r--r--spec/unit/util/path_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/path_helper_spec.rb b/spec/unit/util/path_helper_spec.rb
index 57774c5b53..66ad323c52 100644
--- a/spec/unit/util/path_helper_spec.rb
+++ b/spec/unit/util/path_helper_spec.rb
@@ -81,7 +81,7 @@ describe Chef::Util::PathHelper do
end
else
it "cleanpath removes extra slashes alone" do
- PathHelper.cleanpath('//a///b/c/d/').should == '/a/b/c/d'
+ PathHelper.cleanpath('/a///b/c/d/').should == '/a/b/c/d'
end
end