inspec/test/integration/default/postgres_session_spec.rb

10 lines
256 B
Ruby
Raw Normal View History

# encoding: utf-8
# postgres-server is installed on these platforms
if ['ubuntu', 'centos'].include? os['family']
postgres = postgres_session('postgres', 'inspec')
describe postgres.query('show ssl;') do
its('output') { should eq 'on' }
end
end