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

11 lines
178 B
Ruby
Raw Normal View History

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