Fix unit tests on ruby 1.8.7
Fix unit tests on ruby 1.8.7

buzzdeee/puppet-archive,saimonn/puppet-archive,camptocamp/puppet-archive,MelanieGault/puppet-archive,noris-network/puppet-archive,DSI-Ville-Noumea/puppet-archive,digitalmediacenter/puppet-archive