From 0fe2bb816f60f4daf5d0d24468af94be971d0eaf Mon Sep 17 00:00:00 2001 From: Sakshi Jain Date: Sat, 22 Sep 2018 17:15:29 +0530 Subject: Remove private def --- actionpack/test/controller/new_base/render_context_test.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/new_base/render_context_test.rb b/actionpack/test/controller/new_base/render_context_test.rb index 07fbadae9f..5e570a1d79 100644 --- a/actionpack/test/controller/new_base/render_context_test.rb +++ b/actionpack/test/controller/new_base/render_context_test.rb @@ -32,10 +32,11 @@ module RenderContext "controller context!" end - # 3) Set view_context to self - private def view_context - self - end + private + # 3) Set view_context to self + def view_context + self + end end class RenderContextTest < Rack::TestCase -- cgit v1.2.3