mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
making the examples in the code consistent with rst docs
This commit is contained in:
parent
181ff77625
commit
1cfa3252ce
3 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ module Inspec::Resources
|
|||
example "
|
||||
describe gem('rubocop') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq '0.33.0' }
|
||||
end
|
||||
"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ module Inspec::Resources
|
|||
example "
|
||||
describe oneget('zoomit') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq '1.2.3' }
|
||||
end
|
||||
"
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ module Inspec::Resources
|
|||
name 'os'
|
||||
desc 'Use the os InSpec audit resource to test the platform on which the system is running.'
|
||||
example "
|
||||
describe os.family do
|
||||
describe os[:family] do
|
||||
it { should eq 'redhat' }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue