我有一个控制器“ comments”,我想测试Comments Controller。如何生成脚手架comments_spec?
rails g rspec:scaffold comment
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句