mirror of
https://github.com/inspec/inspec
synced 2024-11-30 08:30:39 +00:00
11 lines
218 B
Ruby
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
|