1
0
Fork 0
mirror of synced 2024-11-17 14:45:33 -05:00
formula-sudoers/test/integration/default/controls/_mapdata_spec.rb

14 lines
362 B
Ruby
Raw Normal View History

# frozen_string_literal: true
control '`map.jinja` YAML dump' do
title 'should contain the lines'
mapdata_file = "_mapdata/#{system.platform[:finger].split('.').first}.yaml"
mapdata_dump = inspec.profile.file(mapdata_file)
describe file('/tmp/salt_mapdata_dump.yaml') do
it { should exist }
2020-08-24 11:26:54 -04:00
its('content') { should eq mapdata_dump }
end
end