diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-02-20 11:47:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 11:47:53 -0500 |
commit | 5b756f4342d2b48a0dccb6d7aa48bcb3f0048e84 (patch) | |
tree | 4f5f5aad0735d3669b0d35f9b0c12c2bd2343085 /actionview/test | |
parent | 26d062b6a730fef608eb7d78450b7020b50b908e (diff) | |
parent | 998ed7eb3e801d39326f36fd3b0c259fee2be0ec (diff) | |
download | rails-5b756f4342d2b48a0dccb6d7aa48bcb3f0048e84.tar.gz rails-5b756f4342d2b48a0dccb6d7aa48bcb3f0048e84.tar.bz2 rails-5b756f4342d2b48a0dccb6d7aa48bcb3f0048e84.zip |
Merge pull request #35340 from cpruitt/fix-actionview-notimplemented-with-path-set
Deprecate ActionView::PathSet as argument to ActionView::Base.new
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/render_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionview/test/template/render_test.rb b/actionview/test/template/render_test.rb index ee8a110b44..1f6dbfc4a5 100644 --- a/actionview/test/template/render_test.rb +++ b/actionview/test/template/render_test.rb @@ -360,6 +360,10 @@ module RenderTestCases assert_deprecated do ActionView::Base.new ["/a"] end + + assert_deprecated do + ActionView::Base.new ActionView::PathSet.new ["/a"] + end end def test_without_compiled_method_container_is_deprecated |