Sha256: b718e9061f505cf59739aa85170929e420ce4e84ccc5934778f51c66258d4cef

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

require 'spec_helper_system'

describe 'postgresql::lib::devel:' do
  after :all do
    # Cleanup after tests have ran
    puppet_apply("class { 'postgresql::lib::devel': package_ensure => purged }") do |r|
      r.exit_code.should_not == 1
    end
  end

  it 'test loading class with no parameters' do
    pp = <<-EOS.unindent
      class { 'postgresql::lib::devel': }
    EOS

    puppet_apply(pp) do |r|
      r.exit_code.should_not == 1
      r.refresh
      r.exit_code.should == 0
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
freighthop-0.3.3 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.3.2 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.3.1 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.3.0 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.2.1 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.2.0 modules/postgresql/spec/system/lib/devel_spec.rb
freighthop-0.1.0 modules/postgresql/spec/system/lib/devel_spec.rb