Skip to content

Commit b58dc25

Browse files
committed
(maint) Reset OptionStore after rspec test
1 parent 2a228e7 commit b58dc25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/framework/core/options/options_validator_spec.rb

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
an_instance_of(SystemExit)
3333
.and(having_attributes(status: error_code))
3434
)
35+
Facter.reset
36+
Facter.clear
37+
Facter::OptionStore.reset
3538
end
3639
end
3740

0 commit comments

Comments
 (0)