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