diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 14f203f64f..d7510556fc 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -69,7 +69,10 @@ end module ActionDispatch module SharedRoutes def before_setup - @routes = SharedTestRoutes + @routes = Routing::RouteSet.new + ActiveSupport::Deprecation.silence do + @routes.draw { get ":controller(/:action)" } + end super end end