Stop setting @default_fact

All unit test implementations have been updated and @default_fact is no
longer directly used.

Change-Id: Ic3fcada2601a7c9ba4089e2e8f1978768f1b6f08
This commit is contained in:
Takashi Kajinami 2022-07-22 14:05:22 +09:00
parent dd267853f3
commit c71da351fb
1 changed files with 0 additions and 6 deletions

View File

@ -4,12 +4,6 @@ require 'puppet-openstack_spec_helper/defaults'
include RspecPuppetFacts
RSpec.configure do |c|
# TODO(aschultz): remove this after all tests are converted to OSDefaults
# instead of referenceing @defaults_facts directly
c.before :each do
@default_facts = OSDefaults.get_facts
end
# add custom facts globally for anyone using rspec-puppet-facts
add_custom_fact :os_service_default, '<SERVICE DEFAULT>'
add_custom_fact :os_workers, '2'