diff --git a/Gemfile b/Gemfile index 01122cb..3da20ad 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,7 @@ gem 'puppet-lint', '>= 1.0.0' gem 'facter', '>= 1.7.0' gem 'beaker-puppet_install_helper' gem 'metadata-json-lint' +gem 'rspec-puppet-facts', '~> 1.7' beakerrspec = '> 0' platforms [:ruby_19, :ruby_21] do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2c6f566..1ffdf17 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1 +1,3 @@ require 'puppetlabs_spec_helper/module_spec_helper' +require 'rspec-puppet-facts' +include RspecPuppetFacts