projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
newer pg module
[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
index
0d043f8
..
89699f6
100644
(file)
--- a/
3rdparty/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb
+++ b/
3rdparty/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb
@@
-1,6
+1,8
@@
require 'spec_helper'
describe 'postgresql_password', :type => :puppet_function do
require 'spec_helper'
describe 'postgresql_password', :type => :puppet_function do
- it {
should
run.with_params('foo', 'bar').
+ it {
is_expected.to
run.with_params('foo', 'bar').
and_return('md596948aad3fcae80c08a35c9b5958cd89') }
and_return('md596948aad3fcae80c08a35c9b5958cd89') }
+ it { is_expected.to run.with_params('foo', 1234).
+ and_return('md539a0e1b308278a8de5e007cd1f795920') }
end
end