double free
double free

Reputation: 1067

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

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?

Upvotes: 5

Views: 966

Answers (1)

Jesse Wolgamott
Jesse Wolgamott

Reputation: 40277

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.

Upvotes: 3

Related Questions