diff --git a/test/integration/default/controls/jobs.rb b/test/integration/default/controls/jobs.rb index 462424d..46cc91a 100644 --- a/test/integration/default/controls/jobs.rb +++ b/test/integration/default/controls/jobs.rb @@ -96,11 +96,11 @@ describe file('/etc/logrotate.d/a_monthly_job') do its('mode') { should cmp '0644' } its('content') { should include '/var/log/a_service/*.log' } its('content') { should include 'monthly' } - its('content') { should include 'rotate 12' } its('content') { should include 'missingok' } + its('content') { should include 'rotate 12' } its('content') { should include 'compress' } its('content') { should include 'delaycompress' } its('content') { should include 'notifempty' } + its('content') { should include 'create 640 root adm' } its('content') { should include 'sharedscripts' } end -