Anatomy of Controls
Last updated
Last updated
describe package('git) do
it { should be_installed }
its('version) { should cmp '1.8' }
enddescribe resource('name', param: value) do
it { should exist }
it { should_not be_nil }
end
describe resources('name').where { ... } do
its('property') { should cmp expected }
end