Skip to content

Reset the state of StubENV's @env_already_stubbed after each spec run

Stan Hu requested to merge sh-unset-stubenv into master

In certain combination of tests, @env_already_stubbed could be set to true even though it never ran for that specific test.

Example failing job: https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/19580183

Edited by Stan Hu

Merge request reports