How to use Rails.vim and spork?
Asked Answered
R

1

6

If I'm in a rails project, editing with rails.vim, how can I get :Rake to run the specs through Spork?

Its largely just a matter of making :Rake aware of the project's specs/spec.opts file via the "-o" flag?

React answered 28/2, 2011 at 1:58 Comment(0)
R
4

Turns out that Rails.vim will use Spork if you add the --drb option to your spec.opts file automatically.

React answered 2/3, 2011 at 14:14 Comment(1)
Just so everyone knows, in Rspec 2, rspec.opts has been replaced with .rspec (or ~/.rspec). But the --drb option should still work the same.Surmount

© 2022 - 2024 — McMap. All rights reserved.