fixes postgresql::server:recovery acceptance tests

This commit is contained in:
Bryan Jen 2015-06-30 13:18:36 -07:00
parent 2514881d3d
commit 3e6a22d166

View file

@ -1,17 +1,17 @@
require 'spec_helper_acceptance'
describe 'postgresql::server::recovery', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
after(:all) do
pp = <<-EOS.unindent
file { '/tmp/recovery.conf':
ensure => absent,
}
EOS
apply_manifest(pp, :catch_failures => true)
end
describe 'should manage recovery' do
after(:all) do
pp = <<-EOS.unindent
file { '/tmp/recovery.conf':
ensure => absent,
}
EOS
apply_manifest(pp, :catch_failures => true)
end
it 'adds conf file' do
pp = <<-EOS.unindent
class { 'postgresql::globals':