3 describe 'postgresql_escape', :type => :puppet_function do
4 it { is_expected.to run.with_params('foo').
5 and_return('$$foo$$') }
7 describe 'postgresql_escape', :type => :puppet_function do
8 it { is_expected.to run.with_params('fo$$o').
9 and_return('$ed$fo$$o$ed$') }
11 describe 'postgresql_escape', :type => :puppet_function do
12 it { is_expected.to run.with_params('foo$').
13 and_return('$a$foo$$a$') }