2020-04-24 17:57:28 +00:00
|
|
|
# Note this one is outside a control block
|
|
|
|
discard_me = input('undeclared_00')
|
|
|
|
|
2019-05-01 02:28:30 +00:00
|
|
|
control 'start_marker' do
|
|
|
|
describe('dummy_test_01') do
|
|
|
|
it { should cmp 'dummy_test_01'}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
control 'undeclared_in_control_body' do
|
2019-06-10 21:41:23 +00:00
|
|
|
input('undeclared_01')
|
|
|
|
assignment_outcome = input('undeclared_02')
|
2019-05-01 02:28:30 +00:00
|
|
|
describe('dummy_test_02') do
|
|
|
|
it { should cmp 'dummy_test_02'}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
control 'undeclared_in_only_if' do
|
2019-06-10 21:41:23 +00:00
|
|
|
only_if { input('undeclared_03') }
|
2019-05-01 02:28:30 +00:00
|
|
|
describe('dummy_test_03') do
|
|
|
|
it { should cmp 'dummy_test_03'}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-06-10 21:41:23 +00:00
|
|
|
input('undeclared_04')
|
2019-05-01 02:28:30 +00:00
|
|
|
|
|
|
|
control 'end_marker' do
|
|
|
|
describe('dummy_test_04') do
|
|
|
|
it { should cmp 'dummy_test_04'}
|
|
|
|
end
|
2019-06-10 21:41:23 +00:00
|
|
|
end
|