mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Add ServerSpec test
This commit is contained in:
parent
438811d03f
commit
007ed90859
1 changed files with 10 additions and 0 deletions
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
|
Loading…
Add table
Reference in a new issue