Stub environment variables in a scoped context for testing
https://github.com/pboling/rspec-stubbed_env