module-postgresql/spec/unit/classes/repo_spec.rb

20 lines
495 B
Ruby
Raw Normal View History

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