thoughtbot/vim-rspec — pull request #67 by thelollies (2014-10-02 02:01:11+00:00)
Title: Feature/add options

Note: requires modifying of rspec_command for this to work although should be backwards compatible.

Added the ability to pass different options into the various rspec commands. In order to demonstrate the usefulness of this, consider my test bindings:

```
map t :call RunCurrentSpecFile() " Run all specs in current file
map T :call RunCurrentSpecFileWithOptions("--tag=~integration") " Run all specs in current file apart from ones tagged as integration (for me, slow selenium tests)
map s :call RunNearestSpec() " Run nearest spec
map l :call RunLastSpec() " Run last spec (should work fine with options)
map a :call RunAllSpecsWithOptions("--tag=~integration") " Run all specs apart from integration ones
map A :call RunAllSpecs() " Run all specs
```

Would be interested to see how others use this, I find it really useful.