diff options
author | DJ Mountney <david@twkie.net> | 2016-05-04 15:49:39 -0700 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-05-04 15:49:39 -0700 |
commit | e37b31456774c92fd718f7ef0a576266ffcca894 (patch) | |
tree | 869c15427292ac82daf445980f30c98bd36faac7 /lib/api/api.rb | |
parent | 9ab70184e3299766165017267a74f53e80b03836 (diff) | |
download | gitlab-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