a353e8e16d
This work converts all the tests over to beaker. Some things are done slightly different in beaker, we rely much more heavily on catch_failures rather than explicitly laying out the exit codes we want but I have attempted to preserve the spirit of all tests.
18 lines
474 B
Ruby
18 lines
474 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'postgresql::client:' do
|
|
after :all do
|
|
# Cleanup after tests have ran
|
|
apply_manifest("class { 'postgresql::client': package_ensure => purged }",
|
|
:catch_failures => true)
|
|
end
|
|
|
|
it 'test loading class with no parameters' do
|
|
pp = <<-EOS.unindent
|
|
class { 'postgresql::client': }
|
|
EOS
|
|
|
|
apply_manifest(pp, :catch_failures => true)
|
|
apply_manifest(pp, :catch_changes => true)
|
|
end
|
|
end
|