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

12 lines
193 B
Ruby
Raw Normal View History

# encoding: utf-8
if os.unix?
filename = '/tmp/example.ini'
else
filename = 'c:/windows/temp/example.ini'
end
describe ini(filename) do
its(['client','port']) { should eq('3306') }
end