diff options
author | Adam Edwards <adamed@opscode.com> | 2014-08-29 23:32:34 -0700 |
---|---|---|
committer | Adam Edwards <adamed@opscode.com> | 2014-08-30 12:31:12 -0700 |
commit | 24fa6c0dc214797a351f71e7bd1ece74f685610b (patch) | |
tree | 0426e2b91b57067952af7979dba8e78a082dfceb /spec/unit/util | |
parent | d6c6c598d124b85034e7cbf5841b28f9eb58d0a7 (diff) | |
download | chef-24fa6c0dc214797a351f71e7bd1ece74f685610b.tar.gz |
Unit spec, Ruby Pathname class on Windows does not remove leading duplicate path separators
Diffstat (limited to 'spec/unit/util')
-rw-r--r-- | spec/unit/util/path_helper_spec.rb | 2 |
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 |