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

10 lines
199 B
Ruby
Raw Normal View History

if os.unix?
filename = '/tmp/example.json'
else
filename = 'c:/windows/temp/example.json'
end
describe json(filename) do
its(['cookbook_locks','omnibus','version']) { should eq('2.2.0') }
end