Fix spec tests using the new spec_helper
Fix spec tests using the new spec_helper

This patch back ports the file from the master branch.  The spec tests
fail without this patch applied.  This should make it easier to setup
Puppet settings using the puppet_spec_helper project.

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