inspec/test/unit/mock/profiles/dependencies/resource-namespace/controls/example.rb
Adam Leff a6582bea9b Remove any "All Rights Reserved" references (#1969)
* Remove any "All Rights Reserved" references

InSpec is licensed and released under the Apache 2.0 license. This
change removes all reference to legacy code files that still had
any Copyright or License lines referring to "All Rights Reserved".

Signed-off-by: Adam Leff <adam@leff.co>

* fix functional tests

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-06-28 04:14:19 -07:00

27 lines
563 B
Ruby

# encoding: utf-8
# copyright: 2015, The Authors
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