Friday, 6 September 2013

Rails 3 upgrade: Generate routing tests with RSpec 2

Rails 3 upgrade: Generate routing tests with RSpec 2

At the moment I'm working on an upgrade from Rails 2.8.smthn to Rails 3.0.
The application has 200+ routes, and, before rewriting the routes using
the new Router API, I want to write tests for the routes.
Because there are a lot of routes and writing the coverage for them would
be a lot of 'grunt work', I was wondering if there is a way to generate
the tests for those routes?
Thank you in advance!

No comments:

Post a Comment