2013-04-23 12:39:37 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'keystone::db::postgresql' do
|
|
|
|
|
|
|
|
let :req_params do
|
|
|
|
{:password => 'pw'}
|
|
|
|
end
|
|
|
|
|
|
|
|
let :facts do
|
|
|
|
{
|
|
|
|
:postgres_default_version => '8.4',
|
|
|
|
:osfamily => 'RedHat',
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
describe 'with only required params' do
|
|
|
|
let :params do
|
|
|
|
req_params
|
|
|
|
end
|
|
|
|
it { should contain_postgresql__db('keystone').with(
|
2013-09-10 22:54:49 -07:00
|
|
|
:user => 'keystone',
|
2013-04-23 12:39:37 -04:00
|
|
|
:password => 'pw'
|
|
|
|
) }
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|