inspec/test/integration/default/controls/virtualization_spec.rb
Christoph Hartmann 47eabbb221 add functional tests for inspec check (#2077)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-08-15 20:41:24 +02:00

7 lines
166 B
Ruby

# encoding: utf-8
if ENV['DOCKER'] && os.linux?
describe virtualization do
its('system') { should eq 'docker' }
its('role') { should eq 'guest' }
end
end