(FM-3802) make ensure_resource test of packages
(FM-3802) make ensure_resource test of packages

This ensures that the test passes independently of changes to rubygems.

jbondpdx/puppetlabs-stdlib,HelenCampbell/puppetlabs-stdlib,fuel-infra/puppetlabs-stdlib,DavidS/puppetlabs-stdlib,yadavnikhil/puppetlabs-stdlib,puppetlabs/puppetlabs-stdlib