63865a286e
* Semi-automated using https://github.com/myii/ssf-formula/pull/245
13 lines
367 B
Ruby
13 lines
367 B
Ruby
# 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 }
|
|
its('content') { should include mapdata_dump }
|
|
end
|
|
end
|