summaryrefslogtreecommitdiff
path: root/spec/functional/resource
diff options
context:
space:
mode:
authorvijaymmali1990 <vijay.mali@msystechnologies.com>2019-01-29 01:58:14 -0800
committervijaymmali1990 <vijay.mali@msystechnologies.com>2019-02-11 22:14:47 -0800
commit7658fba8df362c5674008ab6a2852592b6ec9cd1 (patch)
tree9ab4ae08eb0203168e6803c816fbe9d91b22b4e5 /spec/functional/resource
parent080c4a435af9192bcb46d7ff14840e62ab3911a4 (diff)
downloadchef-7658fba8df362c5674008ab6a2852592b6ec9cd1.tar.gz
- Minor fixes to fix functional test cases
- Added functional test cases for deny_rights option - Ensured chef style - Fixes MSYS-958 Signed-off-by: vijaymmali1990 <vijay.mali@msystechnologies.com>
Diffstat (limited to 'spec/functional/resource')
-rw-r--r--spec/functional/resource/link_spec.rb4
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..4c8545e60b 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