inspec/test/integration/default/controls/yaml_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

11 lines
196 B
Ruby

# encoding: utf-8
if os.unix?
filename = '/tmp/example.yml'
else
filename = 'c:/windows/temp/example.yml'
end
describe yaml(filename) do
its(['driver','name']) { should eq('vagrant') }
end