From 401493bf77b3292e6bc077961d5cadcb32f00692 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 11 Oct 2019 22:51:03 +0100 Subject: [PATCH] fix(rubocop): fix remaining errors manually --- test/integration/default/controls/jobs.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/default/controls/jobs.rb b/test/integration/default/controls/jobs.rb index 7e1c297..9809394 100644 --- a/test/integration/default/controls/jobs.rb +++ b/test/integration/default/controls/jobs.rb @@ -61,7 +61,9 @@ describe file('/etc/logrotate.d/nginx') do its('content') { should include 'compress' } its('content') { should include 'delaycompress' } its('content') { should include 'prerotate' } - its('content') { should include 'if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\' } + its('content') do + should include 'if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\' + end its('content') { should include ' run-parts /etc/logrotate.d/httpd-prerotate; \\' } its('content') { should include ' fi \\' } its('content') { should include 'postrotate' }