2013-08-27 22:43:47 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'postgresql::repo', :type => :class do
|
|
|
|
let :facts do
|
|
|
|
{
|
2014-02-26 02:18:35 +01:00
|
|
|
:osfamily => 'Debian',
|
|
|
|
:operatingsystem => 'Debian',
|
2013-08-27 22:43:47 +02:00
|
|
|
:operatingsystemrelease => '6.0',
|
2014-02-26 02:18:35 +01:00
|
|
|
:lsbdistid => 'Debian',
|
2014-04-08 16:40:49 +02:00
|
|
|
:lsbdistcodename => 'squeeze',
|
2013-08-27 22:43:47 +02:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
describe 'with no parameters' do
|
|
|
|
it 'should instantiate apt_postgresql_org class' do
|
2014-01-07 23:16:09 +01:00
|
|
|
should contain_class('postgresql::repo::apt_postgresql_org')
|
2013-08-27 22:43:47 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|