Skip to content

Commit 0112fcc

Browse files
author
jordanbreen28
committed
(maint) - clear lvm_support fact before test for no lvm_support
1 parent 949c600 commit 0112fcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/unit/facter/lvm_support_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686

8787
context 'when there is no lvm support' do
8888
it 'does not exist' do
89+
Facter.fact(:lvm_support).expects(:value).at_least(1).returns(nil)
8990
Facter.value(:lvm_pvs).should be_nil
9091
end
9192
end

0 commit comments

Comments
 (0)