Commit graph

2 commits

Author SHA1 Message Date
Stan Hu
1bac28d0a9 Stub Rails.application.env_config to prevent spec failures
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
2018-11-19 23:01:24 -08:00
Rémy Coutable
023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Renamed from spec/support/devise_helpers.rb (Browse further)