Sha256: 8ea352e919bdab61c06822f703c30ed823fc372c52fbac0630613c146af3fac5

Contents?: true

Size: 648 Bytes

Versions: 14

Compression:

Stored size: 648 Bytes

Contents

require 'spec_helper'

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

  let :title do
    'test'
  end

  let :params do
    {
      :user => 'test',
      :password => 'test',
      :owner => 'tester',
    }
  end

  it { should contain_postgresql__server__db('test') }
  it { should contain_postgresql__server__database('test').with_owner('tester') }
  it { should contain_postgresql__server__role('test') }
  it { should contain_postgresql__server__database_grant('GRANT test - ALL - test') }
end

Version data entries

14 entries across 14 versions & 1 rubygems

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