From 24fa6c0dc214797a351f71e7bd1ece74f685610b Mon Sep 17 00:00:00 2001 From: Adam Edwards Date: Fri, 29 Aug 2014 23:32:34 -0700 Subject: Unit spec, Ruby Pathname class on Windows does not remove leading duplicate path separators --- spec/unit/util/path_helper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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 -- cgit v1.2.1