thoughtbot / vim-rspec

Run Rspec specs from Vim
https://robots.thoughtbot.com
MIT License
656 stars 108 forks source link

With spring the quick fix window always opens #114

Open doits opened 8 years ago

doits commented 8 years ago

Everything works with this:

let g:rspec_command = "Dispatch rspec {spec}"

When there is an error, I get the quick fix window, if not, then not.

But if I add spring ...

let g:rspec_command = "Dispatch spring rspec {spec}"

... I always get the quick fix window and the first line is focused (which says || Run options: include {:focus=>true} in my case, because I have set Spring.quiet = true)

I'm using rspec 3.5.0.beta1 and Rails 5.0.0.beta2, so maybe that has to do something with it? How can we debug this further?

ThanhKhoaIT commented 8 years ago

cc: @gylaz

yboulkaid commented 7 years ago

I had the same problem and ended up using binstubs. Generate them with spring and then : let g:rspec_command = "bin/rspec {spec}"