# encoding: utf-8 | |||||
# frozen_string_literal: true | |||||
title 'Test logrotate installation' | title 'Test logrotate installation' | ||||
# encoding: utf-8 | |||||
# frozen_string_literal: true | |||||
title 'Test logrotate jobs configuration' | title 'Test logrotate jobs configuration' | ||||
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 |