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

15 lines
251 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-03-18 00:24:00 +01:00
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