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

11 lines
200 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