12 lines
229 B
Ruby
12 lines
229 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|