nginx-formula/test/integration/default/controls/service.rb

10 lines
198 B
Ruby

control 'Nginx service' do
title 'should be running and enabled'
describe service('nginx') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
end