Rspec Stubbed Env
Stub or hide environment variables in a scoped context for testing stub_env('REDIS_URL' => 'redis://localhost:6379/') hide_env('SESSION_SECRET') Read the documentation.
Tips and updates about rspec-stubbed_env.
Stub or hide environment variables in a scoped context for testing stub_env('REDIS_URL' => 'redis://localhost:6379/') hide_env('SESSION_SECRET') Read the documentation.
Tips and updates about rspec-stubbed_env.