21 lines
347 B
Ruby
21 lines
347 B
Ruby
|
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
|