From 3e6a22d166885f3acea2b56a44e545f25fd73481 Mon Sep 17 00:00:00 2001 From: Bryan Jen Date: Tue, 30 Jun 2015 13:18:36 -0700 Subject: [PATCH] fixes postgresql::server:recovery acceptance tests --- spec/acceptance/server/recovery_spec.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/spec/acceptance/server/recovery_spec.rb b/spec/acceptance/server/recovery_spec.rb index e08f40c..b27a5c5 100644 --- a/spec/acceptance/server/recovery_spec.rb +++ b/spec/acceptance/server/recovery_spec.rb @@ -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':