newer pg module
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / spec / unit / functions / postgresql_password_spec.rb
1 require 'spec_helper'
2
3 describe 'postgresql_password', :type => :puppet_function do
4   it { is_expected.to run.with_params('foo', 'bar').
5     and_return('md596948aad3fcae80c08a35c9b5958cd89') }
6   it { is_expected.to run.with_params('foo', 1234).
7     and_return('md539a0e1b308278a8de5e007cd1f795920') }
8 end