Add actual postgresl module from puppetlabs
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / functions / postgresql_password_spec.rb
diff --git a/3rdparty/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb b/3rdparty/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb
new file mode 100644 (file)
index 0000000..0d043f8
--- /dev/null
@@ -0,0 +1,6 @@
+require 'spec_helper'
+
+describe 'postgresql_password', :type => :puppet_function do
+  it { should run.with_params('foo', 'bar').
+    and_return('md596948aad3fcae80c08a35c9b5958cd89') }
+end