postfix-formula/test/integration/default/controls/service_spec.rb
2019-06-02 20:38:14 +02:00

13 lines
220 B
Ruby

control 'Postfix service' do
title 'should be running'
describe service('postfix') do
it { should be_enabled }
it { should be_running }
end
describe port(25) do
it { should be_listening }
end
end