after(:each) { Facter.clear }
describe 'on Debian based distro which has not yet created the update-success-stamp file' do
it 'should have a value of -1' do
Facter.fact(:osfamily).stubs(:value).returns 'Debian'
after(:each) { Facter.clear }
describe 'on Debian based distro which has not yet created the update-success-stamp file' do
it 'should have a value of -1' do
Facter.fact(:osfamily).stubs(:value).returns 'Debian'