diff options
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/util/path_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/util/path_helper_spec.rb b/spec/functional/util/path_helper_spec.rb index f1a953ebad..fd484adff2 100644 --- a/spec/functional/util/path_helper_spec.rb +++ b/spec/functional/util/path_helper_spec.rb @@ -30,7 +30,7 @@ describe Chef::Util::PathHelper, "escape_glob" do File.new(File.join(dir, file), "w").close end - pattern = File.join(PathHelper.escape_glob(dir), "*") + pattern = File.join(PathHelper.escape_glob_dir(dir), "*") expect(Dir.glob(pattern).map { |x| File.basename(x) }).to match_array(files) end end |