Remove default_facts
New modules does not have tests with the @defaults_facts, so we don't need. Change-Id: I15fcedf5f4d24059e1692ef7f49bf4050093cab9
This commit is contained in:
parent
c28c30bc04
commit
4ac65a2f02
@ -8,11 +8,6 @@ include RspecPuppetFacts
|
|||||||
RSpec.configure do |c|
|
RSpec.configure do |c|
|
||||||
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
||||||
c.alias_it_should_behave_like_to :it_raises, 'raises'
|
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
|
end
|
||||||
|
|
||||||
at_exit { RSpec::Puppet::Coverage.report! }
|
at_exit { RSpec::Puppet::Coverage.report! }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user