inspec/examples/profile/controls/gordon.rb
rosskusler db1195ddc8 Update the title of the gordon-1.0 control
The 'title' of the gordon-1.0 control had been copy/pasted from the tmp-1.0 resource.
2016-01-13 23:05:10 -05:00

20 lines
439 B
Ruby

# encoding: utf-8
# copyright: 2015, Chef Software, Inc.
# license: All rights reserved
title 'Gordon Config Checks'
# To pass the test, create the following file
# ```bash
# cat <<EOF > /etc/gordon/config.yaml
# version: '1.0'
# EOF
# ```
control 'gordon-1.0' do
impact 0.7
title 'Verify the version number of Gordon'
desc 'An optional description...'
describe gordon_config do
its('version') { should eq('1.0') }
end
end