Add actual postgresl module from puppetlabs
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / defines / psql_spec.rb
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 (file)
index 0000000..3c21b11
--- /dev/null
@@ -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