mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-01-05 13:20:36 +00:00
added fluentd_repo_spec.rb
This commit is contained in:
parent
6fb278603b
commit
b21e606acb
18
spec/classes/fluentd_repo_spec.rb
Normal file
18
spec/classes/fluentd_repo_spec.rb
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user