mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-11-10 00:00:35 +00:00
fix rspec tests
Missing ::osfamily fact.
This commit is contained in:
parent
f5003e3758
commit
decccb771f
@ -1,5 +1,7 @@
|
|||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
describe 'rsnapshot' do
|
describe 'rsnapshot' do
|
||||||
|
let(:facts) {{ :osfamily => 'RedHat' }}
|
||||||
|
|
||||||
it { should contain_class('rsnapshot::params') }
|
it { should contain_class('rsnapshot::params') }
|
||||||
it { is_expected.to compile }
|
it { is_expected.to compile }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user