mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Always call super
This commit is contained in:
parent
6ccddadd84
commit
0efc609ac6
3 changed files with 1 additions and 3 deletions
|
@ -55,7 +55,6 @@ module ActionView
|
|||
register_detail(:handlers) { Template::Handlers.extensions }
|
||||
|
||||
class DetailsKey #:nodoc:
|
||||
|
||||
alias :eql? :equal?
|
||||
|
||||
@details_keys = Concurrent::Map.new
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -26,6 +26,7 @@ module ActionView
|
|||
module SharedTests
|
||||
def setup
|
||||
ActionView::LookupContext::DetailsKey.clear
|
||||
super
|
||||
end
|
||||
|
||||
def self.included(test_case)
|
||||
|
|
Loading…
Reference in a new issue