Skip to content

Commit

Permalink
(maint) Reset OptionStore after rspec test
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaXLi committed May 4, 2023
1 parent 2a228e7 commit b58dc25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/framework/core/options/options_validator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
an_instance_of(SystemExit)
.and(having_attributes(status: error_code))
)
Facter.reset
Facter.clear
Facter::OptionStore.reset
end
end

Expand Down

0 comments on commit b58dc25

Please sign in to comment.