Add actual postgresl module from puppetlabs
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / defines / db_spec.rb
diff --git a/3rdparty/modules/postgresql/spec/unit/defines/db_spec.rb b/3rdparty/modules/postgresql/spec/unit/defines/db_spec.rb
new file mode 100644 (file)
index 0000000..077a720
--- /dev/null
@@ -0,0 +1,20 @@
+require 'spec_helper'
+
+describe 'postgresql::db', :type => :define do
+  let :facts do
+    {
+      :postgres_default_version => '8.4',
+      :osfamily => 'Debian',
+    }
+  end
+  let :title do
+    'test'
+  end
+  let :params do
+    {
+      :user => 'test',
+      :password => 'test',
+    }
+  end
+  it { should include_class("postgresql::params") }
+end