Changes 'matcher' to 'property' in examples (#2499)

Signed-off-by: kagarmoe <kgarmoe@chef.io>
This commit is contained in:
Kimberly Garmoe 2018-02-01 02:51:12 -08:00 committed by Christoph Hartmann
parent 7dc72c7491
commit 010ca42b2d
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ A `command` resource block declares a command to be run, one (or more) expected
describe bash('command') do describe bash('command') do
it { should exist } it { should exist }
its('matcher') { should eq 'output' } its('property') { should eq 'output' }
end end
where where

View file

@ -14,7 +14,7 @@ A `command` resource block declares a command to be run, one (or more) expected
describe command('command') do describe command('command') do
it { should exist } it { should exist }
its('matcher') { should eq 'output' } its('property') { should eq 'output' }
end end
where where

View file

@ -13,7 +13,7 @@ Use the `etc_group` InSpec audit resource to test groups that are defined on Lin
A `etc_group` resource block declares a collection of properties to be tested: A `etc_group` resource block declares a collection of properties to be tested:
describe etc_group('path') do describe etc_group('path') do
its('matcher') { should eq 'some_value' } its('property') { should eq 'some_value' }
end end
or: or:

View file

@ -13,7 +13,7 @@ Use the `os_env` InSpec audit resource to test the environment variables for the
A `os_env` resource block declares an environment variable, and then declares its value: A `os_env` resource block declares an environment variable, and then declares its value:
describe os_env('VARIABLE') do describe os_env('VARIABLE') do
its('matcher') { should eq 1 } its('property') { should eq 1 }
end end
where where

View file

@ -17,7 +17,7 @@ A `powershell` resource block declares a Powershell script to be tested, and the
EOH EOH
describe powershell(script) do describe powershell(script) do
its('matcher') { should eq 'output' } its('property') { should eq 'output' }
end end
where where