Commit b1d1a5b9 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 15c04901 ef9b6012
......@@ -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
......
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