2017-03-08 20:22:24 +00:00
|
|
|
# copyright: 2015, The Authors
|
|
|
|
|
|
|
|
title 'sample section'
|
|
|
|
|
|
|
|
# you can also use plain tests
|
2019-11-06 22:40:00 +00:00
|
|
|
describe file('/') do
|
2017-03-08 20:22:24 +00:00
|
|
|
it { should be_directory }
|
|
|
|
end
|
|
|
|
|
|
|
|
# you add controls here
|
|
|
|
control 'tmp-1.0' do # A unique ID for this control
|
|
|
|
impact 0.7 # The criticality, if this control fails.
|
2019-11-06 22:40:00 +00:00
|
|
|
title 'Create / directory' # A human-readable title
|
2017-03-08 20:22:24 +00:00
|
|
|
desc 'An optional description...'
|
2019-11-06 22:40:00 +00:00
|
|
|
describe file('/') do # The actual test
|
2017-03-08 20:22:24 +00:00
|
|
|
it { should be_directory }
|
|
|
|
end
|
|
|
|
end
|