inspec/test/integration/default/controls/json_spec.rb
Christoph Hartmann 47eabbb221 add functional tests for inspec check (#2077)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-08-15 20:41:24 +02:00

11 lines
218 B
Ruby

# 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