X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fpostgresql%2Fspec%2Funit%2Fdefines%2Fpsql_spec.rb;fp=3rdparty%2Fmodules%2Fpostgresql%2Fspec%2Funit%2Fdefines%2Fpsql_spec.rb;h=3c21b11842fdc69b1c1555a575cc7d9612942a29;hb=a29c0d1b4d2420aeb3ef6acf66feb00709dd2652;hp=0000000000000000000000000000000000000000;hpb=d98d8ae49a60547132c555f3669f3b9ae6a666bd;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/postgresql/spec/unit/defines/psql_spec.rb b/3rdparty/modules/postgresql/spec/unit/defines/psql_spec.rb new file mode 100644 index 000000000..3c21b1184 --- /dev/null +++ b/3rdparty/modules/postgresql/spec/unit/defines/psql_spec.rb @@ -0,0 +1,20 @@ +require 'spec_helper' + +describe 'postgresql::psql', :type => :define do + let :facts do + { + :postgres_default_version => '8.4', + :osfamily => 'Debian', + } + end + let :title do + 'test' + end + let :params do + { + :db => 'test', + :unless => 'test', + } + end + it { should include_class("postgresql::params") } +end