This is a lightweight Rspec runner for Vim.
Recommended installation with vundle:
Bundle 'thoughtbot/vim-rspec'
" Rspec.vim mappings
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
Overwrite g:rspec_command
variable to execute a custom command.
Example:
let g:rspec_command = "!rspec --drb {spec}"
rspec.vim is copyright © 2013 thoughtbot. It is free software, and may be
redistributed under the terms specified in the LICENSE
file.
The names and logos for thoughtbot are trademarks of thoughtbot, inc.