未验证 提交 fcf418d6 编写于 作者: N Nick Thomas

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

上级 516987e4
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册