Skip to content
Browse files

Use more explicit matcher for turnip support

  • Loading branch information...
1 parent ed157ac commit 8b967bc6850a030b21eb89f529e34e911a11c89d @jgdavey committed Jan 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/turbux.vim
View
4 plugin/turbux.vim
@@ -28,8 +28,8 @@ function! s:prefix_for_test(file)
elseif a:file =~# '_test.rb$'
return "ruby -Itest "
elseif a:file =~# '.feature$'
- if a:file =~# 'spec/'
- return "rspec "
+ if a:file =~# '\<spec/'
+ return "rspec -rturnip "
else
return "cucumber "
endif

0 comments on commit 8b967bc

Please sign in to comment.
Something went wrong with that request. Please try again.