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

21 lines
347 B
Ruby
Raw Normal View History

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