9 lines
167 B
Ruby
9 lines
167 B
Ruby
|
control 'Nginx service' do
|
||
|
title 'should be running and enabled'
|
||
|
|
||
|
describe service('nginx') do
|
||
|
it { should be_enabled }
|
||
|
it { should be_running }
|
||
|
end
|
||
|
end
|