cron-formula/test/integration/default/controls/package_spec.rb

18 lines
267 B
Ruby

# frozen_string_literal: true
control 'Cron package' do
title 'should be installed'
package_name =
case os[:family]
when 'debian'
'cron'
else
'cronie'
end
describe package(package_name) do
it { should be_installed }
end
end