From 570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 6 Feb 2019 16:50:06 -0800 Subject: Fix deprecation warnings and call super --- actionview/test/template/template_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionview/test/template/template_test.rb b/actionview/test/template/template_test.rb index 8af6739e45..a069c8f2d0 100644 --- a/actionview/test/template/template_test.rb +++ b/actionview/test/template/template_test.rb @@ -19,7 +19,7 @@ class TestERBTemplate < ActiveSupport::TestCase end class Context < ActionView::Base - def initialize + def initialize(*) super @output_buffer = "original" @virtual_path = nil @@ -64,7 +64,7 @@ class TestERBTemplate < ActiveSupport::TestCase end def setup - @context = Context.with_empty_template_cache.new + @context = Context.with_empty_template_cache.empty super end -- cgit v1.2.3