mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
19 lines
377 B
Ruby
19 lines
377 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe 'fluentd::repo', :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::apt')
|
||
|
}
|
||
|
end
|
||
|
end
|