Sha256: 00e1ccec14cbb1fccb63fef59085f840d1d1c99fc050daaea1445180c8190cd6

Contents?: true

Size: 523 Bytes

Versions: 14

Compression:

Stored size: 523 Bytes

Contents

require 'spec_helper'

describe 'postgresql::server::table_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',
      :table => 'foo',
    }
  end

  it { should contain_postgresql__server__table_grant('test') }
  it { should contain_postgresql__server__grant('table:test') }
end

Version data entries

14 entries across 14 versions & 1 rubygems

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