mirror of
https://github.com/inspec/inspec
synced 2024-12-26 21:13:25 +00:00
a26dbe146d
For reading the profiles metadata, we're using the train mock backend through Inspec::Runner. The new `supports` feature never agrees with the mock backend. Now, it we figure out if this is a mock class and then just say that it supports whatever we're asking for. Tl;dr: there's probably a more beautiful solution to this. Added a test case, but it fails -- while the command line interface works fine.
16 lines
298 B
Ruby
16 lines
298 B
Ruby
# encoding: utf-8
|
|
# copyright: 2015, Chef Software, Inc
|
|
# license: All rights reserved
|
|
|
|
title 'Proc Filesystem Configuration'
|
|
|
|
control 'test01' do
|
|
impact 0.5
|
|
title 'Catchy title'
|
|
desc '
|
|
There should always be a /proc
|
|
'
|
|
describe file('/proc') do
|
|
it { should be_mounted }
|
|
end
|
|
end
|