Added modules
This commit is contained in:
parent
c53c931217
commit
59ec520742
646 changed files with 35182 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue