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