如何检查所有页面是否成功响应
答
使用rspec to test your controllers
您可以使用ActionController::Routing::Routes.routes,让您的行程路线,使用each
块,用get
每条路线。你需要在某些路线上通过一些params
。