From 0efc609ac62077b38297c13ef212d5c04588869d Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 8 Feb 2019 15:17:02 -0800 Subject: Always call super --- actionview/test/template/render_test.rb | 2 -- actionview/test/template/test_case_test.rb | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'actionview/test/template') diff --git a/actionview/test/template/render_test.rb b/actionview/test/template/render_test.rb index bbecc404be..3f298d81f3 100644 --- a/actionview/test/template/render_test.rb +++ b/actionview/test/template/render_test.rb @@ -650,8 +650,6 @@ class LazyViewRenderTest < ActiveSupport::TestCase # is not eager loaded def setup ActionView::LookupContext::DetailsKey.clear - - view_paths = ActionController::Base.view_paths path = ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH) view_paths = ActionView::PathSet.new([path]) assert_equal ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH), view_paths.first diff --git a/actionview/test/template/test_case_test.rb b/actionview/test/template/test_case_test.rb index 4d3338e637..c89aff9c9d 100644 --- a/actionview/test/template/test_case_test.rb +++ b/actionview/test/template/test_case_test.rb @@ -26,6 +26,7 @@ module ActionView module SharedTests def setup ActionView::LookupContext::DetailsKey.clear + super end def self.included(test_case) -- cgit v1.2.3