mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
659b4b373a
Signed-off-by: Miah Johnson <miah@chia-pet.org>
12 lines
254 B
Ruby
12 lines
254 B
Ruby
|
|
if os.unix?
|
|
filename = '/tmp/example.toml'
|
|
else
|
|
filename = 'c:/windows/temp/example.toml'
|
|
end
|
|
|
|
describe toml(filename) do
|
|
its ('key') { should eq('value') }
|
|
its (['arr', 1]) { should eq 2 }
|
|
its (['mytable', 'key1']) { should eq 'value1' }
|
|
end
|