Sha256: 1bc556a741ecc2627d1c0534f2a0688279ebb9095ff014b31a39a17b8e082461

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8

# TODO: do not run those tests on docker yet
return if ENV['DOCKER']

# 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inspec-0.28.1 test/integration/default/postgres_session_spec.rb
inspec-0.28.0 test/integration/default/postgres_session_spec.rb
inspec-0.27.1 test/integration/default/postgres_session_spec.rb
inspec-0.27.0 test/integration/default/postgres_session_spec.rb
inspec-0.26.0 test/integration/default/postgres_session_spec.rb
inspec-0.25.0 test/integration/default/postgres_session_spec.rb
inspec-0.24.0 test/integration/default/postgres_session_spec.rb
inspec-0.23 test/integration/default/postgres_session_spec.rb
inspec-0.22.1 test/integration/default/postgres_session_spec.rb
inspec-0.22.0 test/integration/default/postgres_session_spec.rb