inspec/test/integration/default/controls/yaml_spec.rb

12 lines
196 B
Ruby
Raw Normal View History

# 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