fix(rubocop): add fixes using rubocop --safe-auto-correct
This commit is contained in:
parent
3c3ce8acb5
commit
de80802f7d
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# encoding: utf-8
|
# frozen_string_literal: true
|
||||||
|
|
||||||
title 'Test logrotate installation'
|
title 'Test logrotate installation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# encoding: utf-8
|
# frozen_string_literal: true
|
||||||
|
|
||||||
title 'Test logrotate jobs configuration'
|
title 'Test logrotate jobs configuration'
|
||||||
|
|
||||||
|
@ -66,5 +66,4 @@ describe file('/etc/logrotate.d/nginx') do
|
||||||
its('content') { should include ' fi \\' }
|
its('content') { should include ' fi \\' }
|
||||||
its('content') { should include 'postrotate' }
|
its('content') { should include 'postrotate' }
|
||||||
its('content') { should include ' invoke-rc.d nginx rotate >/dev/null 2>&1' }
|
its('content') { should include ' invoke-rc.d nginx rotate >/dev/null 2>&1' }
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue