Hi Rspecians,
while working on a legacy rails app, I rewrote the custom routes to conventional ones using resources and so on.
Unfortunately, one route was not rewritten properly and issues surfaced later.
I wonder if this could be of rspec-rails gem interest, to include something like
rails generate rspec:exisiting_routes
to have something to work against when refactoring the routes config file.
This ideally would be covered beforehand, either in request specs or in routes specs. But such a feature could help in more legacy projects.
Let me know if this would suitable for rspec-rails and I can build it.
I found one gem that tried to do such a job but it didn't get much recognition:
and also it doesn't play with rails 5 or 6
Thanks for the feedback,
Jakub