inspec/test/unit/mock/profiles/old-examples/profile/controls/minimal.rb

10 lines
349 B
Ruby
Raw Normal View History

title 'Minimal control'
# you add controls here
control 'minimalist' do # A unique ID for this control
impact 0.7 # The criticality, if this control fails.
describe file('/var') do # The actual test
it { should be_directory }
end
end