mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
22 lines
506 B
Ruby
22 lines
506 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'fluentd', :type => :class do
|
|
let(:facts) {
|
|
{
|
|
:osfamily => 'Debian',
|
|
:lsbdistid => 'Ubuntu',
|
|
:operatingsystem => 'Ubuntu',
|
|
:lsbdistcodename => 'precise',
|
|
}
|
|
}
|
|
|
|
describe 'when called with no parameters on Ubuntu' do
|
|
it {
|
|
should contain_class('fluentd::repo')
|
|
should contain_class('fluentd::install')
|
|
should contain_class('fluentd::config')
|
|
should contain_class('fluentd::service')
|
|
}
|
|
end
|
|
end
|