diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 13:26:53 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 13:26:53 -0700 |
commit | 3b10f9ca503dcbce747241281b9151d3d010f9ef (patch) | |
tree | 2e90f78a6910a4c673e19045a7f0627f1fc49382 /spec/stress | |
parent | 2a4916b7f01940d1199c35645c1b2172f5bd74b2 (diff) | |
download | chef-3b10f9ca503dcbce747241281b9151d3d010f9ef.tar.gz |
Style/SymbolProc
enforce pretzels.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/stress')
-rw-r--r-- | spec/stress/win32/security_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/stress/win32/security_spec.rb b/spec/stress/win32/security_spec.rb index 0280398ad5..8929a2ff74 100644 --- a/spec/stress/win32/security_spec.rb +++ b/spec/stress/win32/security_spec.rb @@ -50,7 +50,7 @@ describe "Chef::ReservedNames::Win32::Security", :windows_only do it "should not leak when retrieving and reading the ACE from a file", :volatile do expect do - sids = Chef::ReservedNames::Win32::Security::SecurableObject.new(@monkeyfoo).security_descriptor.dacl.select { |ace| ace.sid } + sids = Chef::ReservedNames::Win32::Security::SecurableObject.new(@monkeyfoo).security_descriptor.dacl.select(&:sid) GC.start end.not_to leak_memory(warmup: 50, iterations: 100) end |