Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add support for running turnip based features

  • Loading branch information...
commit ed157ac01bcf2687e9b38c134239a0de20dea7b9 1 parent 7fb0eed
@martinisoft martinisoft authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 plugin/turbux.vim
View
6 plugin/turbux.vim
@@ -28,7 +28,11 @@ function! s:prefix_for_test(file)
elseif a:file =~# '_test.rb$'
return "ruby -Itest "
elseif a:file =~# '.feature$'
- return "cucumber "
+ if a:file =~# 'spec/'
+ return "rspec "
+ else
+ return "cucumber "
+ endif
endif
return ''
endfunction
Please sign in to comment.
Something went wrong with that request. Please try again.