mirror of
https://github.com/inspec/inspec
synced 2024-12-25 20:43:13 +00:00
28 lines
593 B
Ruby
28 lines
593 B
Ruby
|
# encoding: utf-8
|
||
|
# copyright: 2015, The Authors
|
||
|
# license: All rights reserved
|
||
|
require_resource(profile: 'profile_c', resource: 'gordon_config', as: 'gordy_config')
|
||
|
|
||
|
describe gordy_config do
|
||
|
its('version') { should eq('1.0') }
|
||
|
end
|
||
|
|
||
|
control 'whichgordon' do
|
||
|
describe gordy_config do
|
||
|
its('version') { should eq('1.0') }
|
||
|
end
|
||
|
|
||
|
describe gordon_config do
|
||
|
its('version') { should eq('2.0') }
|
||
|
end
|
||
|
|
||
|
describe gordy_config do
|
||
|
its('version') { should eq(gordy_config.version) }
|
||
|
end
|
||
|
|
||
|
describe gordon_config do
|
||
|
its('version') { should eq(gordon_config.version) }
|
||
|
end
|
||
|
|
||
|
end
|