making the examples in the code consistent with rst docs

This commit is contained in:
Anirudh Gupta 2016-09-21 11:33:17 +05:30
parent 181ff77625
commit 1cfa3252ce
3 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ module Inspec::Resources
example "
describe gem('rubocop') do
it { should be_installed }
its('version') { should eq '0.33.0' }
end
"

View file

@ -16,6 +16,7 @@ module Inspec::Resources
example "
describe oneget('zoomit') do
it { should be_installed }
its('version') { should eq '1.2.3' }
end
"

View file

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