inspec/test/unit/mock/profiles/profile-with-required-inputs/controls/include.rb
Clinton Wolfe 46624396c7 Bulk edit of test files to use input() in DSL
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-12 12:17:19 -04:00

11 lines
155 B
Ruby

cis_level = input('cis_level')
control 'control1' do
title 'title'
only_if { cis_level == 2 }
describe true do
it { should eq true}
end
end