From 4ac65a2f029f3f7911f422c3986a12dd53cadbca Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Sun, 5 Jun 2016 02:02:25 -0300 Subject: [PATCH] Remove default_facts New modules does not have tests with the @defaults_facts, so we don't need. Change-Id: I15fcedf5f4d24059e1692ef7f49bf4050093cab9 --- moduleroot/spec/spec_helper.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/moduleroot/spec/spec_helper.rb b/moduleroot/spec/spec_helper.rb index be3811c..9d725cf 100644 --- a/moduleroot/spec/spec_helper.rb +++ b/moduleroot/spec/spec_helper.rb @@ -8,11 +8,6 @@ include RspecPuppetFacts RSpec.configure do |c| c.alias_it_should_behave_like_to :it_configures, 'configures' c.alias_it_should_behave_like_to :it_raises, 'raises' - # TODO(aschultz): remove this after all tests converted to use OSDefaults - # instead of referencing @default_facts - c.before :each do - @default_facts = OSDefaults.get_facts - end end at_exit { RSpec::Puppet::Coverage.report! }