Tests for owner param

This commit is contained in:
Marek Hulan 2013-10-10 17:44:52 +02:00
parent b784676c2e
commit 5f026f1322

View file

@ -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