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 Layout/LineLength
should include(
'"tofs": {"files_switch": ["any/path/can/be/used/here", "id", '\
'"roles", "osfinger", "os", "os_family"], "source_files": '\
'{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], '\
'"TEMPLATE-subcomponent-config-file-file-managed": '\
'"tofs": {"files_switch": ["any/path/can/be/used/here", "id", ' \
'"roles", "osfinger", "os", "os_family"], "source_files": ' \
'{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], ' \
'"TEMPLATE-subcomponent-config-file-file-managed": ' \
'["subcomponent-example.tmpl.jinja"]}'
)
# rubocop:enable Layout/LineLength

View file

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