Merge pull request #4713 from inspec/cw/fix-windows-filesystem-doc-example

Correct filesystem resource docs for windows example
This commit is contained in:
Miah Johnson 2019-11-13 12:34:50 -08:00 committed by GitHub
commit e87a99ddd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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