1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

silence deprecation message for dynamic controller and actions on Action View test

Follow up to #23980.
This commit is contained in:
yuuji.yaginuma 2016-03-13 08:59:31 +09:00
parent 9201030320
commit e58a2b008a

View file

@ -655,7 +655,9 @@ class UrlHelperControllerTest < ActionController::TestCase
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),