76bcfcbc5f37064d38de4c6f4625b924016a6b81
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / defines / validate_db_connection_spec.rb
1 require 'spec_helper'
2
3 describe 'postgresql::validate_db_connection', :type => :define do
4   let :facts do
5     {
6       :postgres_default_version => '8.4',
7       :osfamily => 'Debian',
8     }
9   end
10   let :title do
11     'test'
12   end
13   let :params do
14     {
15       :database_host => 'test',
16       :database_name => 'test',
17       :database_password => 'test',
18       :database_username => 'test',
19     }
20   end
21   it { should include_class("postgresql::params") }
22 end