diff options
author | Tim Smith <tsmith@chef.io> | 2020-09-08 20:48:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 20:48:28 -0700 |
commit | a19407f8a16725324006fbeeb4ba121d61e12742 (patch) | |
tree | 913088cf1cb54f3dd7b8cdef1180f7666d7aa20b | |
parent | ec3cc7358cfadf02b6fff4f31634a8c2f81af803 (diff) | |
parent | ca33291f9493a85516060a1f6236bdd09c2e8b2e (diff) | |
download | chef-a19407f8a16725324006fbeeb4ba121d61e12742.tar.gz |
Merge pull request #10398 from chef/VSingh/fix-windows-test-cases
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/unit/data_collector/config_validation_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/data_collector/config_validation_spec.rb b/spec/unit/data_collector/config_validation_spec.rb index d00811f3ef..239ef4b249 100644 --- a/spec/unit/data_collector/config_validation_spec.rb +++ b/spec/unit/data_collector/config_validation_spec.rb @@ -186,6 +186,7 @@ describe Chef::DataCollector::ConfigValidation do allow(File).to receive(:exist?).with(file_path).and_return(true) allow(File).to receive(:readable?).with(file_path).and_return(true) allow(File).to receive(:writable?).with(file_path).and_return(true) + allow(File).to receive(:expand_path).with(file_path).and_return(file_path) end it "with valid files options" do |