aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/abstract_unit.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-12-23 23:19:23 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-12-23 23:49:02 +0900
commit1f5bed98551e08b9e8bdfabbfbb0fded665a47c4 (patch)
tree6ce85857f9dba6f84cb1987a12801ab13b356e65 /actionview/test/abstract_unit.rb
parent21e5fd4a2a1c162ad33708d3e01b1fda165f204d (diff)
downloadrails-1f5bed98551e08b9e8bdfabbfbb0fded665a47c4.tar.gz
rails-1f5bed98551e08b9e8bdfabbfbb0fded665a47c4.tar.bz2
rails-1f5bed98551e08b9e8bdfabbfbb0fded665a47c4.zip
Privatize unneededly protected methods in Action View tests
Diffstat (limited to 'actionview/test/abstract_unit.rb')
-rw-r--r--actionview/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/abstract_unit.rb b/actionview/test/abstract_unit.rb
index 88c7189d22..5bc4151087 100644
--- a/actionview/test/abstract_unit.rb
+++ b/actionview/test/abstract_unit.rb
@@ -163,7 +163,7 @@ class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
# Stub Rails dispatcher so it does not get controller references and
# simply return the controller#action as Rack::Body.
class StubDispatcher < ::ActionDispatch::Routing::RouteSet::Dispatcher
- protected
+ private
def controller_reference(controller_param)
controller_param
end