How can I get a list of all the routes in my Admin namespace so that I can use it in one of my tests?
Admin
I frequentl
test_routes = [] Rails.application.routes.routes.each do |route| route = route.path.spec.to_s test_routes << route if route.starts_with?('/admin') end