diff options
author | sanga17 <sausekar@msystechnologies.com> | 2020-03-26 11:32:51 +0530 |
---|---|---|
committer | sanga17 <sausekar@msystechnologies.com> | 2020-03-26 11:32:51 +0530 |
commit | b45df41d124d0b11f7f56b38a2dab4b74e66a7f9 (patch) | |
tree | 0b74eb8155d79d578b1deb38ddc9abc8bb444ce2 | |
parent | 084283130fc4cf97dfc623f511f10ad6fe3ad7eb (diff) | |
download | chef-b45df41d124d0b11f7f56b38a2dab4b74e66a7f9.tar.gz |
Required specs updated
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
-rw-r--r-- | spec/unit/resource/windows_share_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/resource/windows_share_spec.rb b/spec/unit/resource/windows_share_spec.rb index 406e817a26..c86465e7c8 100644 --- a/spec/unit/resource/windows_share_spec.rb +++ b/spec/unit/resource/windows_share_spec.rb @@ -38,12 +38,10 @@ describe Chef::Resource::WindowsShare do end it "coerces path to a single path separator format" do - resource.path("C:/chef") + resource.path("C:/chef".freeze) expect(resource.path).to eql("C:\\chef") resource.path("C:\\chef") expect(resource.path).to eql("C:\\chef") - resource.path("C:/chef".freeze) - expect(resource.path).to eql("C:\\chef") resource.path("C:/chef".dup) expect(resource.path).to eql("C:\\chef") end |