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:
parent
cf0dd4a71d
commit
570bcdaa65
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue