Skip to content

Fix test environment pollution in spec/lib/gitlab/request_context_spec.rb

Nick Thomas requested to merge (removed):58969-fix-request-context-spec into master

What does this MR do?

Closes #58969 (closed)

What are the relevant issue numbers?

Prevents a spec from polluting the global Rails.application state, which was causing an order-dependent spec failure.

I'm not sure if this still tests everything we want to, so that needs to be checked carefully.

Does this MR meet the acceptance criteria?

Merge request reports