after(:each) { Facter.clear }
describe 'on Debian based distro which has not yet created the update-success-stamp file' do
after(:each) { Facter.clear }
describe 'on Debian based distro which has not yet created the update-success-stamp file' do
Facter.fact(:osfamily).stubs(:value).returns 'Debian'
File.stubs(:exists?).returns true
File.stubs(:mtime).returns 1407660561
Facter.fact(:osfamily).stubs(:value).returns 'Debian'
File.stubs(:exists?).returns true
File.stubs(:mtime).returns 1407660561