mirror of
https://github.com/inspec/inspec
synced 2024-12-14 07:12:42 +00:00
a12dfcfdc0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
31 lines
653 B
Ruby
31 lines
653 B
Ruby
# Note this one is outside a control block
|
|
discard_me = input('undeclared_00')
|
|
|
|
control 'start_marker' do
|
|
describe('dummy_test_01') do
|
|
it { should cmp 'dummy_test_01'}
|
|
end
|
|
end
|
|
|
|
control 'undeclared_in_control_body' do
|
|
input('undeclared_01')
|
|
assignment_outcome = input('undeclared_02')
|
|
describe('dummy_test_02') do
|
|
it { should cmp 'dummy_test_02'}
|
|
end
|
|
end
|
|
|
|
control 'undeclared_in_only_if' do
|
|
only_if { input('undeclared_03') }
|
|
describe('dummy_test_03') do
|
|
it { should cmp 'dummy_test_03'}
|
|
end
|
|
end
|
|
|
|
input('undeclared_04')
|
|
|
|
control 'end_marker' do
|
|
describe('dummy_test_04') do
|
|
it { should cmp 'dummy_test_04'}
|
|
end
|
|
end
|