作者在 2012-12-25 01:03:21 发布以下内容
rails g rspec:controller ControllerName
比如
rails g rspec:controller users
出自:http://stackoverflow.com/questions/4235763/how-do-i-generate-specs-for-existing-controllers
rails g rspec:controller ControllerName
比如
rails g rspec:controller users
出自:http://stackoverflow.com/questions/4235763/how-do-i-generate-specs-for-existing-controllers