projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
3rdparty/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb
@@ -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