1
0
Fork 0
mirror of synced 2024-12-21 05:31:09 -05:00

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

View file

@ -61,7 +61,9 @@ describe file('/etc/logrotate.d/nginx') do
its('content') { should include 'compress' } its('content') { should include 'compress' }
its('content') { should include 'delaycompress' } its('content') { should include 'delaycompress' }
its('content') { should include 'prerotate' } 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 ' run-parts /etc/logrotate.d/httpd-prerotate; \\' }
its('content') { should include ' fi \\' } its('content') { should include ' fi \\' }
its('content') { should include 'postrotate' } its('content') { should include 'postrotate' }