Moving stub_environment with block outside of ChefSpec::Runner context