Sha256: 58d15d7243542bbbfe60b17570cf73f299366c26651562498592e715dc34981e

Contents?: true

Size: 509 Bytes

Versions: 14

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

describe 'postgresql::server::database_grant', :type => :define do
  let :facts do
    {
      :osfamily => 'Debian',
      :operatingsystem => 'Debian',
      :operatingsystemrelease => '6.0',
    }
  end

  let :title do
    'test'
  end

  let :params do
    {
      :privilege => 'ALL',
      :db => 'test',
      :role => 'test',
    }
  end

  it { should contain_postgresql__server__database_grant('test') }
  it { should contain_postgresql__server__grant('database:test') }
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.6.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.5.2 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.5.1 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.5.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.4.1 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.4.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.3.3 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.3.2 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.3.1 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.3.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.2.1 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.2.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb
freighthop-0.1.0 modules/postgresql/spec/unit/defines/server/database_grant_spec.rb