Skip to content
Snippets Groups Projects
Verified Commit fcf418d6 authored by Nick Thomas's avatar Nick Thomas
Browse files

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

parent 516987e4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -25,7 +25,7 @@ describe Gitlab::RequestContext do
[200, {}, ["Hello"]]
end
 
Rails.application.middleware.build(endpoint).call(env)
described_class.new(endpoint).call(env)
 
expect(client_ip).to eq(load_balancer_ip)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment