GitLab wird am Donnerstag, den 09. Dezember, zwischen 08:00 und 10:00 Uhr wegen wichtigen Wartungsarbeiten nicht zur Verfügung stehen.

Commit bc42a02c authored by Stan Hu's avatar Stan Hu Committed by GitLab Release Tools Bot
Browse files

Merge branch '58969-fix-request-context-spec' into 'master'

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

Closes #58969

See merge request gitlab-org/gitlab-ce!26167

(cherry picked from commit ef9b6012)

fcf418d6 Fix test environment pollution in spec/lib/gitlab/request_context_spec.rb
parent 4970bec6
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
[200, {}, ["Hello"]] [200, {}, ["Hello"]]
end end
Rails.application.middleware.build(endpoint).call(env) described_class.new(endpoint).call(env)
expect(client_ip).to eq(load_balancer_ip) expect(client_ip).to eq(load_balancer_ip)
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment