summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2016-05-04 15:49:39 -0700
committerDJ Mountney <david@twkie.net>2016-05-04 15:49:39 -0700
commite37b31456774c92fd718f7ef0a576266ffcca894 (patch)
tree869c15427292ac82daf445980f30c98bd36faac7 /lib/api/api.rb
parent9ab70184e3299766165017267a74f53e80b03836 (diff)
downloadgitlab-ce-e37b31456774c92fd718f7ef0a576266ffcca894.tar.gz
Add tests for setting trusted_proxiestrusted-proxies-ip-addr
Each test reloads the trusted_proxies initializer, which in turn will set Rails.application.config.action_dispatch.trusted_proxies to something new. This will leak into the other tests, but the middleware that it is used in has already been loaded for the whole test suite, so it should have no impact.
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions