inspec/test/integration/default/controls/csv_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
224 B
Ruby

# encoding: utf-8
if os.unix?
filename = '/tmp/example.csv'
else
filename = 'c:/windows/temp/example.csv'
end
describe csv(filename) do
its('name') { should eq(['addressable', 'ast', 'astrolabe', 'berkshelf']) }
end