From 66132ee7e2c31ef39f59035f4f623d0f09d56173 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Fri, 30 Sep 2016 13:31:44 -0600 Subject: [PATCH] Move rspec-puppet-facts to spec helper This change updates the module to use the rspec-puppet-facts as defined in the puppet-openstack_spec_helper. Change-Id: If7c0a134552ade3ecd39280eb267e63251b98f95 --- spec/spec_helper.rb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fc2a9cf5..a2237794 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,21 +1,11 @@ require 'puppetlabs_spec_helper/module_spec_helper' require 'shared_examples' require 'webmock/rspec' - -require 'puppet-openstack_spec_helper/defaults' -require 'rspec-puppet-facts' -include RspecPuppetFacts +require 'puppet-openstack_spec_helper/facts' RSpec.configure do |c| c.alias_it_should_behave_like_to :it_configures, 'configures' c.alias_it_should_behave_like_to :it_raises, 'raises' - c.default_facts = { :concat_basedir => '/var/lib/puppet/concat' } - # TODO(aschultz): remove this after all tests converted to use OSDefaults - # instead of referencing @default_facts - c.before :each do - @default_facts = OSDefaults - end - end at_exit { RSpec::Puppet::Coverage.report! }