newer pg module
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / functions / postgresql_password_spec.rb
index 0d043f8..89699f6 100644 (file)
@@ -1,6 +1,8 @@
 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') }
+  it { is_expected.to run.with_params('foo', 1234).
+    and_return('md539a0e1b308278a8de5e007cd1f795920') }
 end