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

12 lines
218 B
Ruby
Raw Normal View History

# encoding: utf-8
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