inspec/test/kitchen/policies/default/controls/yaml_spec.rb

10 lines
177 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