mirror of
https://github.com/inspec/inspec
synced 2024-12-21 10:33:23 +00:00
cbb3b600d9
* Skip require check unless we are in a exec call. * Add testing * Update comment. Signed-off-by: Jared Quick <jquick@chef.io>
11 lines
159 B
Ruby
11 lines
159 B
Ruby
cis_level = attribute('cis_level')
|
|
|
|
control 'control1' do
|
|
title 'title'
|
|
|
|
only_if { cis_level == 2 }
|
|
|
|
describe true do
|
|
it { should eq true}
|
|
end
|
|
end
|