From b58dc25a1bbf119e4012e0769c6ba1edfb2a01d6 Mon Sep 17 00:00:00 2001 From: Aria Li Date: Thu, 4 May 2023 16:11:54 -0700 Subject: [PATCH] (maint) Reset OptionStore after rspec test --- spec/framework/core/options/options_validator_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/framework/core/options/options_validator_spec.rb b/spec/framework/core/options/options_validator_spec.rb index a2fd277c0d..292f5fb662 100644 --- a/spec/framework/core/options/options_validator_spec.rb +++ b/spec/framework/core/options/options_validator_spec.rb @@ -32,6 +32,9 @@ an_instance_of(SystemExit) .and(having_attributes(status: error_code)) ) + Facter.reset + Facter.clear + Facter::OptionStore.reset end end