1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

🚨 Make the cops happy 🚨

This commit is contained in:
Aaron Patterson 2019-01-23 16:11:54 -08:00
parent 7d0ce785d4
commit 6dcd43b2a8
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ class CompiledTemplatesTest < ActiveSupport::TestCase
def setup
super
view_paths = ActionController::Base.view_paths
view_paths = ActionController::Base.view_paths
view_paths.each(&:clear_cache)
ActionView::LookupContext.fallbacks.each(&:clear_cache)
@view_class = ActionView::Base.with_empty_template_cache

View file

@ -11,7 +11,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase
def setup
super
view_paths = ActionController::Base.view_paths
view_paths = ActionController::Base.view_paths
view_paths.each(&:clear_cache)
ActionView::LookupContext.fallbacks.each(&:clear_cache)

View file

@ -36,7 +36,7 @@ class TranslationHelperTest < ActiveSupport::TestCase
}
}
)
view_paths = ActionController::Base.view_paths
view_paths = ActionController::Base.view_paths
view_paths.each(&:clear_cache)
ActionView::LookupContext.fallbacks.each(&:clear_cache)
@view = ::ActionView::Base.with_empty_template_cache.with_view_paths(view_paths, {})