module-postgresql/spec/unit/defines/db_spec.rb

21 lines
349 B
Ruby
Raw Normal View History

require 'spec_helper'
describe 'postgresql::db', :type => :define do
let :facts do
{
:postgres_default_version => '8.4',
:osfamily => 'Debian',
}
end
let :title do
'test'
end
let :params do
{
:user => 'test',
:password => 'test',
}
end
it { should include_class("postgresql::params") }
end