mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
helper.rb now reflects the new commands in the security_policy resource
This commit is contained in:
parent
f1e8483cd8
commit
7c279c7d04
1 changed files with 2 additions and 2 deletions
|
@ -111,9 +111,9 @@ class MockLoader
|
|||
|
||||
mock.commands = {
|
||||
'ps aux' => cmd.call('ps-aux'),
|
||||
'type win_secpol.cfg' => cmd.call('secedit-export'),
|
||||
'Get-Content win_secpol.cfg' => cmd.call('secedit-export'),
|
||||
'secedit /export /cfg win_secpol.cfg' => cmd.call('success'),
|
||||
'del win_secpol.cfg' => cmd.call('success'),
|
||||
'Remove-Item win_secpol.cfg' => cmd.call('success'),
|
||||
'env' => cmd.call('env'),
|
||||
'$Env:PATH' => cmd.call('$env-PATH'),
|
||||
# registry key test
|
||||
|
|
Loading…
Reference in a new issue