aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/translation_helper_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2019-01-23 16:11:54 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2019-02-06 16:57:32 -0800
commit6dcd43b2a8a81b6131f5a569fffae6a17d337032 (patch)
treeb11d8efa71c461f99d3e26ab415fa419bba6b668 /actionview/test/template/translation_helper_test.rb
parent7d0ce785d4d0d3c8f31eb63b653d1c5d2a2bdad7 (diff)
downloadrails-6dcd43b2a8a81b6131f5a569fffae6a17d337032.tar.gz
rails-6dcd43b2a8a81b6131f5a569fffae6a17d337032.tar.bz2
rails-6dcd43b2a8a81b6131f5a569fffae6a17d337032.zip
🚨 Make the cops happy 🚨
Diffstat (limited to 'actionview/test/template/translation_helper_test.rb')
-rw-r--r--actionview/test/template/translation_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/translation_helper_test.rb b/actionview/test/template/translation_helper_test.rb
index 7094d4c7fc..23fc9850c4 100644
--- a/actionview/test/template/translation_helper_test.rb
+++ b/actionview/test/template/translation_helper_test.rb
@@ -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, {})