1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-12-16 09:40:35 +00:00

fix rspec tests

Missing ::osfamily fact.
This commit is contained in:
Joshua Hoblitt 2016-12-21 10:34:57 -07:00
parent f5003e3758
commit decccb771f

View File

@ -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