aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-12-23 23:40:07 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-12-23 23:49:11 +0900
commitf2dfd5c6fdffdf65e6f07aae8e855ac802f9302f (patch)
treefbf5c025a2d172d7da148abd9bcf2832effcfb16 /actionpack/test/dispatch
parent1f5bed98551e08b9e8bdfabbfbb0fded665a47c4 (diff)
downloadrails-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.rb2
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