diff options
Diffstat (limited to 'chef-config/spec/unit/path_helper_spec.rb')
-rw-r--r-- | chef-config/spec/unit/path_helper_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chef-config/spec/unit/path_helper_spec.rb b/chef-config/spec/unit/path_helper_spec.rb index 0192bbf621..b67a074f9e 100644 --- a/chef-config/spec/unit/path_helper_spec.rb +++ b/chef-config/spec/unit/path_helper_spec.rb @@ -93,7 +93,6 @@ RSpec.describe ChefConfig::PathHelper do end - it "cleanpath changes slashes into backslashes and leaves backslashes alone" do expect(path_helper.cleanpath('/a/b\\c/d/')).to eq('\\a\\b\\c\\d') end @@ -224,7 +223,7 @@ RSpec.describe ChefConfig::PathHelper do end end - context "not on windows", :unix_only do + context "not on windows", :unix_only do it "returns a canonical path" do expect(path_helper.canonical_path("/etc//apache.d/sites-enabled/../sites-available/default")).to eq("/etc/apache.d/sites-available/default") end |