Always call super

This commit is contained in:
Aaron Patterson 2019-02-08 15:17:02 -08:00
parent 6ccddadd84
commit 0efc609ac6
No known key found for this signature in database
GPG Key ID: 953170BCB4FFAFC6
3 changed files with 1 additions and 3 deletions

View File

@ -55,7 +55,6 @@ module ActionView
register_detail(:handlers) { Template::Handlers.extensions }
class DetailsKey #:nodoc:
alias :eql? :equal?
@details_keys = Concurrent::Map.new

View File

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

View File

@ -26,6 +26,7 @@ module ActionView
module SharedTests
def setup
ActionView::LookupContext::DetailsKey.clear
super
end
def self.included(test_case)