From 3bdc11b5c2b2f2b60d8dfe7b3a493fce532b0c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20B=C3=A9rtoli?= Date: Mon, 28 Mar 2022 09:38:54 -0300 Subject: [PATCH] test(jobs): reorder parameters to match pillar --- test/integration/default/controls/jobs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -