style(inspec): fix whitespace

This commit is contained in:
Dafydd Jones 2023-10-11 16:43:00 +01:00
parent 2bd3ef9a18
commit 1df9861084
2 changed files with 7 additions and 7 deletions

View file

@ -24,10 +24,10 @@ control 'TEMPLATE.config.file' do
# rubocop:disable Lint/RedundantCopDisableDirective # rubocop:disable Lint/RedundantCopDisableDirective
# rubocop:disable Layout/LineLength # rubocop:disable Layout/LineLength
should include( should include(
'"tofs": {"files_switch": ["any/path/can/be/used/here", "id", '\ '"tofs": {"files_switch": ["any/path/can/be/used/here", "id", ' \
'"roles", "osfinger", "os", "os_family"], "source_files": '\ '"roles", "osfinger", "os", "os_family"], "source_files": ' \
'{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], '\ '{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], ' \
'"TEMPLATE-subcomponent-config-file-file-managed": '\ '"TEMPLATE-subcomponent-config-file-file-managed": ' \
'["subcomponent-example.tmpl.jinja"]}' '["subcomponent-example.tmpl.jinja"]}'
) )
# rubocop:enable Layout/LineLength # rubocop:enable Layout/LineLength

View file

@ -10,14 +10,14 @@ control 'TEMPLATE.subcomponent.config.file' do
its('mode') { should cmp '0644' } its('mode') { should cmp '0644' }
its('content') do its('content') do
should include( should include(
'# File managed by Salt at '\ '# File managed by Salt at ' \
'<salt://TEMPLATE/subcomponent/config/files/default/'\ '<salt://TEMPLATE/subcomponent/config/files/default/' \
'subcomponent-example.tmpl.jinja>.' 'subcomponent-example.tmpl.jinja>.'
) )
end end
its('content') do its('content') do
should include( should include(
'This is another subcomponent example file from SaltStack '\ 'This is another subcomponent example file from SaltStack ' \
'template-formula.' 'template-formula.'
) )
end end