aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-02-06 18:08:36 -0800
committerGitHub <noreply@github.com>2019-02-06 18:08:36 -0800
commit973b62dcddd2db45047d32321e6887c841fc5ccf (patch)
tree791524f548ebe2b18b4cb7c704962a7a55150e6e /railties/test
parentd0037daa3738ac754781ce5e55778a2cf9d3d2f7 (diff)
parent570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8 (diff)
downloadrails-973b62dcddd2db45047d32321e6887c841fc5ccf.tar.gz
rails-973b62dcddd2db45047d32321e6887c841fc5ccf.tar.bz2
rails-973b62dcddd2db45047d32321e6887c841fc5ccf.zip
Merge pull request #35036 from rails/av-base-subclass
Move compiled ERB to an AV::Base subclass
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index 7006b0855f..37fba72ee3 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -2094,7 +2094,9 @@ module ApplicationTests
test "ActionView::Template.finalize_compiled_template_methods is true by default" do
app "test"
- assert_equal true, ActionView::Template.finalize_compiled_template_methods
+ assert_deprecated do
+ ActionView::Template.finalize_compiled_template_methods
+ end
end
test "ActionView::Template.finalize_compiled_template_methods can be configured via config.action_view.finalize_compiled_template_methods" do
@@ -2106,7 +2108,9 @@ module ApplicationTests
app "test"
- assert_equal false, ActionView::Template.finalize_compiled_template_methods
+ assert_deprecated do
+ ActionView::Template.finalize_compiled_template_methods
+ end
end
test "ActiveJob::Base.return_false_on_aborted_enqueue is true by default" do