From e58a2b008a46f07d98e247948b05d8562428420a Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 13 Mar 2016 08:59:31 +0900 Subject: [PATCH] silence deprecation message for dynamic controller and actions on Action View test Follow up to #23980. --- actionview/test/template/url_helper_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb index d6a19a829f482..ab56d80de39fc 100644 --- a/actionview/test/template/url_helper_test.rb +++ b/actionview/test/template/url_helper_test.rb @@ -655,7 +655,9 @@ class UrlHelperController < ActionController::Base to: 'url_helper_controller_test/url_helper#show_named_route', as: :show_named_route - get "/:controller(/:action(/:id))" + ActiveSupport::Deprecation.silence do + get "/:controller(/:action(/:id))" + end get 'url_helper_controller_test/url_helper/normalize_recall_params', to: UrlHelperController.action(:normalize_recall),