
Adds missing tests on the keystone::db::postgresql class. Also, removes some unsupported options from the class. Change-Id: Ifab6d06dcd388df07cc9cc06bb8e938d3af90c62
27 lines
453 B
Ruby
27 lines
453 B
Ruby
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(
|
|
:user => 'keystone_admin',
|
|
:password => 'pw'
|
|
) }
|
|
end
|
|
|
|
end
|