mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Update resource registry_key documentation example
ref: https://github.com/inspec/inspec/issues/4003 Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
b4ae6cb342
commit
5c00a44d71
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ Use a registry key name and path:
|
|||
|
||||
Use only a registry key path:
|
||||
|
||||
describe registry_key('Task Scheduler','HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule') do
|
||||
describe registry_key('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule') do
|
||||
its('Start') { should eq 2 }
|
||||
end
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ require 'json'
|
|||
|
||||
# Three constructor methods are available:
|
||||
# 1. resistry_key(path'):
|
||||
# describe registry_key('Task Scheduler','HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule') do
|
||||
# describe registry_key('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule') do
|
||||
# its('Start') { should eq 2 }
|
||||
# end
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue