mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
db8e6e7415
Signed-off-by: Ryan Davis <zenspider@chef.io>
26 lines
580 B
Ruby
26 lines
580 B
Ruby
# copyright: 2015, The Authors
|
|
|
|
require_resource(profile: 'profile_c', resource: 'example_config', as: 'placeholder_config')
|
|
|
|
describe placeholder_config do
|
|
its('version') { should eq('1.0') }
|
|
end
|
|
|
|
control 'whichexample' do
|
|
describe placeholder_config do
|
|
its('version') { should eq('1.0') }
|
|
end
|
|
|
|
describe example_config do
|
|
its('version') { should eq('2.0') }
|
|
end
|
|
|
|
describe placeholder_config do
|
|
its('version') { should eq(placeholder_config.version) }
|
|
end
|
|
|
|
describe example_config do
|
|
its('version') { should eq(example_config.version) }
|
|
end
|
|
|
|
end
|