开发者

Vim: Using rails.vim, how do I make rails.vm use rspec instead of testunit?

开发者 https://www.devze.com 2023-04-11 18:34 出处:网络
I\'m using rails.vim and when I use :A on a model file, it opens the corresponding testunit file. How do I make it open开发者_开发知识库 the corresponding rspec file?Rails.vim will load test/unit firs

I'm using rails.vim and when I use :A on a model file, it opens the corresponding testunit file. How do I make it open开发者_开发知识库 the corresponding rspec file?


Rails.vim will load test/unit first (if it exists), then rspec.

So, fix the framework you use most often and keep your stuff in either the test or spec folders.

0

精彩评论

暂无评论...
验证码 换一张
取 消