• DJ Mountney's avatar
    Add tests for setting trusted_proxies · e37b3145
    DJ Mountney authored
    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.
    e37b3145
trusted_proxies_spec.rb 1.56 KB