aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test')
-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