Files
puppet-manila/spec/classes/manila_db_postgresql_spec.rb
2014-06-13 13:34:10 -04:00

27 lines
441 B
Ruby

require 'spec_helper'
describe 'manila::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('manila').with(
:user => 'manila',
:password => 'pw'
) }
end
end