diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-09-23 19:39:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 19:39:15 +0200 |
commit | 22dc2b3db894cb709c132456d787166839455a8e (patch) | |
tree | 860d7050325891b01735d9f69daf6db7fef3208c /actionpack/test/controller/new_base/render_context_test.rb | |
parent | 58f80d6be8d8ed4c7a11dfef5de0b8874807bfdc (diff) | |
parent | 0fe2bb816f60f4daf5d0d24468af94be971d0eaf (diff) | |
download | rails-22dc2b3db894cb709c132456d787166839455a8e.tar.gz rails-22dc2b3db894cb709c132456d787166839455a8e.tar.bz2 rails-22dc2b3db894cb709c132456d787166839455a8e.zip |
Merge pull request #33949 from sjain1107/no-private-def
Remove private def
Diffstat (limited to 'actionpack/test/controller/new_base/render_context_test.rb')
-rw-r--r-- | actionpack/test/controller/new_base/render_context_test.rb | 9 |
1 files changed, 5 insertions, 4 deletions
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 |