Skip to content

Stub Rails.application.env_config to prevent spec failures

Stan Hu requested to merge sh-fix-issue-8448-ce into master

When we modify env_config, that is on the global Rails.application, and we need to stub it and allow it to be modified in-place, without polluting later tests.

When we modify env, then the context is a request, or something else that only lives for a single spec.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/8488

Edited by Stan Hu

Merge request reports