diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-23 23:40:07 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-23 23:49:11 +0900 |
commit | f2dfd5c6fdffdf65e6f07aae8e855ac802f9302f (patch) | |
tree | fbf5c025a2d172d7da148abd9bcf2832effcfb16 /actionpack/test/dispatch | |
parent | 1f5bed98551e08b9e8bdfabbfbb0fded665a47c4 (diff) | |
download | rails-f2dfd5c6fdffdf65e6f07aae8e855ac802f9302f.tar.gz rails-f2dfd5c6fdffdf65e6f07aae8e855ac802f9302f.tar.bz2 rails-f2dfd5c6fdffdf65e6f07aae8e855ac802f9302f.zip |
Privatize unneededly protected methods in Action Pack tests
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index 2f41851598..07941c8985 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -18,7 +18,7 @@ class BaseRequestTest < ActiveSupport::TestCase ActionDispatch::Http::URL.url_for(options) end - protected + private def stub_request(env = {}) ip_spoofing_check = env.key?(:ip_spoofing_check) ? env.delete(:ip_spoofing_check) : true @trusted_proxies ||= nil |