aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/translation_helper_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-01-30 11:57:47 -0800
committerGitHub <noreply@github.com>2019-01-30 11:57:47 -0800
commit535a8b995700a5875a898691b19b88969c22d264 (patch)
tree536c260987f394bbcb650c20fe401b89ec30443a /actionview/test/template/translation_helper_test.rb
parent8ca6bd2e942f9a2652ec20c0c419e9b08f25c2e1 (diff)
parente17fe52e0e0ef0842b6c409e1110a862c4e005bc (diff)
downloadrails-535a8b995700a5875a898691b19b88969c22d264.tar.gz
rails-535a8b995700a5875a898691b19b88969c22d264.tar.bz2
rails-535a8b995700a5875a898691b19b88969c22d264.zip
Merge pull request #35093 from rails/av-base-constructor
Tighten up the AV::Base constructor
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 e756348938..d04e68e182 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 = ::ActionView::Base.new(ActionController::Base.view_paths, {})
+ @view = ::ActionView::Base.with_view_paths(ActionController::Base.view_paths, {})
end
teardown do