inspec/test/fixtures/profiles/dependencies/resource-namespace/controls/example.rb
Ryan Davis db8e6e7415 Moved test/unit/mock/* to test/fixtures
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 16:29:03 -08:00

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