Add ServerSpec test
This commit is contained in:
10
test/integration/default/serverspec/postgres_spec.rb
Normal file
10
test/integration/default/serverspec/postgres_spec.rb
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
require "serverspec"
|
||||||
|
|
||||||
|
describe service("postgres") do
|
||||||
|
it { should be_enabled }
|
||||||
|
it { should be_running }
|
||||||
|
end
|
||||||
|
|
||||||
|
describe port("5432") do
|
||||||
|
it { should be_listening }
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user