mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Merge pull request #4713 from inspec/cw/fix-windows-filesystem-doc-example
Correct filesystem resource docs for windows example
This commit is contained in:
commit
e87a99ddd6
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ The following examples show how to use this Chef InSpec audit resource.
|
|||
|
||||
### Test if the C:\ partition is NTFS
|
||||
|
||||
describe filesystem('c:\') do
|
||||
Note that Windows filesystems (drives) are referred to without any slashes:
|
||||
|
||||
describe filesystem('c:') do
|
||||
its('type') { should cmp 'NTFS' }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue