Merge pull request #948 from sheenaajay/purgeoption
[puppet-modules/puppetlabs-apt.git] / spec / unit / facter / apt_dist_has_updates_spec.rb
index 216050d035a93574f9a2fab27a4f12eacc745005..7846632a5ae20b9bfaf4c6fc2cf8ca10f28da815 100644 (file)
@@ -7,6 +7,8 @@ describe 'apt_has_dist_updates fact' do
 
   describe 'on non-Debian distro' do
     before(:each) do
+      # Adding temporary workaround for this ticket https://tickets.puppetlabs.com/browse/IAC-1143
+      Facter.clear
       allow(Facter.fact(:osfamily)).to receive(:value).once.and_return('Redhat')
     end
     it { is_expected.to be_nil }