When running tests locally (with an older version of the .env_sample file as .env) I was seeing nil, rather than the empty string, when running this spec. I determined the issue is that env vars provided (but blank) are represented as empty strings, while env vars not provided are returned as nil, and to avoid this dependence on the environment file (at test time) it's better to provide the data you're expecting (as we did for the other keys in the settings hash). |
||
|---|---|---|
| .. | ||
| authentication_spec.rb | ||
| community_spec.rb | ||
| general_spec.rb | ||
| smtp_spec.rb | ||
| user_experience_spec.rb | ||