1 describe package("postgresql-15") do
2 it { should be_installed }
5 describe service("postgresql@15-main") do
6 it { should be_enabled }
7 it { should be_running }
10 describe port(5432) do
11 it { should be_listening }
12 its("protocols") { should cmp %w[tcp tcp6] }