1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix deprecation warnings and call super

This commit is contained in:
Aaron Patterson 2019-02-06 16:50:06 -08:00
parent cf0dd4a71d
commit 570bcdaa65
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

View file

@ -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