Sha256: c5327341a8580a8c4997763b391442e7a9edebed91bbfff0e3798c9a54eb730e

Contents?: true

Size: 607 Bytes

Versions: 7

Compression:

Stored size: 607 Bytes

Contents

require 'spec_helper_acceptance'

describe 'postgresql::lib::python:' do
  after :all do
    # Cleanup after tests have ran
    apply_manifest("class { 'postgresql::lib::python': package_ensure => purged }", :catch_failures => true)
  end

  it 'test loading class with no parameters' do
    pending('psycopg2 not available natively for centos 5', :if => (fact('osfamily') == 'RedHat' and fact('lsbmajdistrelease') == '5'))

    pp = <<-EOS.unindent
      class { 'postgresql::lib::python': }
    EOS

    apply_manifest(pp, :catch_failures => true)
    apply_manifest(pp, :catch_changes => true)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.6.0 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.5.2 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.5.1 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.5.0 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.4.1 modules/postgresql/spec/acceptance/lib/python_spec.rb
freighthop-0.4.0 modules/postgresql/spec/acceptance/lib/python_spec.rb