inspec/test/fixtures/profiles/inputs/inheritance/child-01/controls/child-01-controls.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

13 lines
389 B
Ruby

control 'child-01-control-01' do
describe input('test-01') do
# This is an independent value, inheritance-child-01/test-01
it { should cmp 'value-from-child-01-metadata' }
end
end
control 'child-01-control-02' do
describe input('test-02') do
# This value was set by the wrapper, inheritance-child-01/test-02
it { should cmp 'value-from-wrapper-metadata' }
end
end