mirror of
https://github.com/inspec/inspec
synced 2024-12-21 10:33:23 +00:00
28 lines
587 B
Ruby
28 lines
587 B
Ruby
|
control 'start_marker' do
|
||
|
describe('dummy_test_01') do
|
||
|
it { should cmp 'dummy_test_01'}
|
||
|
end
|
||
|
end
|
||
|
|
||
|
control 'undeclared_in_control_body' do
|
||
|
attribute('undeclared_01')
|
||
|
assignment_outcome = attribute('undeclared_02')
|
||
|
describe('dummy_test_02') do
|
||
|
it { should cmp 'dummy_test_02'}
|
||
|
end
|
||
|
end
|
||
|
|
||
|
control 'undeclared_in_only_if' do
|
||
|
only_if { attribute('undeclared_03') }
|
||
|
describe('dummy_test_03') do
|
||
|
it { should cmp 'dummy_test_03'}
|
||
|
end
|
||
|
end
|
||
|
|
||
|
attribute('undeclared_04')
|
||
|
|
||
|
control 'end_marker' do
|
||
|
describe('dummy_test_04') do
|
||
|
it { should cmp 'dummy_test_04'}
|
||
|
end
|
||
|
end
|