Sha256: 5997397ea28d4468f215cd0bb69e21e499b504b119880e3801c164ddd2bc1dbf

Contents?: true

Size: 289 Bytes

Versions: 20

Compression:

Stored size: 289 Bytes

Contents

require 'spec_helper'

describe 'postgresql_escape', :type => :puppet_function do
  it { should run.with_params('foo').
    and_return('$$foo$$') }
end
describe 'postgresql_escape', :type => :puppet_function do
  it { should run.with_params('fo$$o').
    and_return('$ed$fo$$o$ed$') }
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.6.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.5.2 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.5.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.5.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.4.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.4.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.3.3 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.3.2 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.3.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.3.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.2.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.2.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.1.0 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.6 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.5 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.4 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.3 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.2 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb
freighthop-0.0.1 modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb