diff options
author | Bryan McLellan <btm@loftninjas.org> | 2019-04-26 00:45:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 00:45:58 -0400 |
commit | b58793f304a342babf4050bf97180262d9ceda0e (patch) | |
tree | f7e76647d7adeae64b4318dd87a1393c719cab57 /spec/functional | |
parent | 66c0fdeb65c19d267bd501550e60cd16d7bb4901 (diff) | |
parent | 3e2c9bcfb0423dce05a1e29f11ddef3f4f562713 (diff) | |
download | chef-b58793f304a342babf4050bf97180262d9ceda0e.tar.gz |
Merge pull request #8168 from MsysTechnologiesllc/Vijay/MSYS-958_write_permissions_does_not_work_properly_on_windows
Fix for write permissions were not working properly on windows
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/link_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/link_spec.rb b/spec/functional/resource/link_spec.rb index 4464b6ed69..d86a904098 100644 --- a/spec/functional/resource/link_spec.rb +++ b/spec/functional/resource/link_spec.rb @@ -417,11 +417,11 @@ describe Chef::Resource::Link do it_behaves_like "a securable resource without existing target" do let(:path) { target_file } - def allowed_acl(sid, expected_perms) + def allowed_acl(sid, expected_perms, _flags = 0) [ ACE.access_allowed(sid, expected_perms[:specific]) ] end - def denied_acl(sid, expected_perms) + def denied_acl(sid, expected_perms, _flags = 0) [ ACE.access_denied(sid, expected_perms[:specific]) ] end |