1
0
Fork 0

fix(rubocop): fix remaining errors manually

This commit is contained in:
Imran Iqbal 2019-10-11 22:51:03 +01:00
parent de80802f7d
commit 401493bf77
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
1 changed files with 3 additions and 1 deletions

View File

@ -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' }