Tests for owner param
This commit is contained in:
parent
b784676c2e
commit
5f026f1322
1 changed files with 2 additions and 1 deletions
|
@ -17,11 +17,12 @@ describe 'postgresql::server::db', :type => :define do
|
|||
{
|
||||
:user => 'test',
|
||||
:password => 'test',
|
||||
:owner => 'tester',
|
||||
}
|
||||
end
|
||||
|
||||
it { should contain_postgresql__server__db('test') }
|
||||
it { should contain_postgresql__server__database('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
|
||||
|
|
Loading…
Reference in a new issue