postfix-formula/test/integration/default/controls/service_spec.rb

15 lines
251 B
Ruby

# frozen_string_literal: true
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