summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-09 13:38:37 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commit86b7ae916e37a17e9f764bcc6699b7cd38e6d732 (patch)
treea0f939fa5a7bb598723a4543c2acc5a6654a01b9 /spec/support
parent392814db246c40549504d935bed94ad5d6442bfa (diff)
downloadchef-86b7ae916e37a17e9f764bcc6699b7cd38e6d732.tar.gz
fixing Lint/Void cop
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared/functional/securable_resource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/functional/securable_resource.rb b/spec/support/shared/functional/securable_resource.rb
index 506b96736c..17b78dda9d 100644
--- a/spec/support/shared/functional/securable_resource.rb
+++ b/spec/support/shared/functional/securable_resource.rb
@@ -138,8 +138,8 @@ shared_context "use Windows permissions", :windows_only do
RSpec::Matchers.define :have_expected_properties do |mask, type, flags|
match do |ace|
- ace.mask == mask
- ace.type == type
+ ace.mask == mask &&
+ ace.type == type &&
ace.flags == flags
end
end