test(inspec): replace serverspec with inspec tests
This commit is contained in:
13
test/integration/default/controls/services_spec.rb
Normal file
13
test/integration/default/controls/services_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
control 'Postgres service' do
|
||||
impact 0.5
|
||||
title 'should be running and enabled'
|
||||
|
||||
describe service('postgresql') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
describe port(5432) do
|
||||
it { should be_listening }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user