17 lines
525 B
Ruby
17 lines
525 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'postgresql::lib::perl:', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
|
|
after :all do
|
|
# Cleanup after tests have ran
|
|
apply_manifest("class { 'postgresql::lib::perl': package_ensure => purged }", :catch_failures => true)
|
|
end
|
|
|
|
it 'test loading class with no parameters' do
|
|
pp = <<-EOS.unindent
|
|
class { 'postgresql::lib::perl': }
|
|
EOS
|
|
|
|
apply_manifest(pp, :catch_failures => true)
|
|
apply_manifest(pp, :catch_changes => true)
|
|
end
|
|
end
|