aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2019-02-06 16:50:06 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2019-02-06 16:57:34 -0800
commit570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8 (patch)
tree9ab91f0abb46dbd4c1af0eeb4c36a574579ab7e6 /actionview
parentcf0dd4a71da69cf7f39da59a992f04b3c7bcbb19 (diff)
downloadrails-570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8.tar.gz
rails-570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8.tar.bz2
rails-570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8.zip
Fix deprecation warnings and call super
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/template_test.rb4
1 files 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