Sha256: 5351f5ceea77a6872ccb9ffc9fbac89a5b816f96b26f5ca36c5a8967f09fd5f6
Contents?: true
Size: 724 Bytes
Versions: 7
Compression:
Stored size: 724 Bytes
Contents
require 'spec_helper_acceptance' describe 'postgresql::server::config_entry:' do after :all do # Cleanup after tests have ran apply_manifest("class { 'postgresql::server': ensure => absent }", :catch_failures => true) end it 'should change setting and reflect it in show all' do pp = <<-EOS.unindent class { 'postgresql::server': } postgresql::server::config_entry { 'check_function_bodies': value => 'off', } EOS apply_manifest(pp, :catch_failures => true) apply_manifest(pp, :catch_changes => true) psql('--command="show all" postgres') do |r| expect(r.stdout).to match(/check_function_bodies.+off/) expect(r.stderr).to eq('') end end end
Version data entries
7 entries across 7 versions & 1 rubygems