Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support test/unit files that being with 'test_'

  • Loading branch information...
commit bb49e5487e9c4dc6b3ce0094ebc8027a3f1e50cf 1 parent 138d985
@jgdavey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/turbux.vim
View
2  plugin/turbux.vim
@@ -25,7 +25,7 @@ endfunction
function! s:prefix_for_test(file)
if a:file =~# '_spec.rb$'
return "rspec "
- elseif a:file =~# '_test.rb$'
+ elseif a:file =~# '\(\<test_.*\|_test\)\.rb$'
return "ruby -Itest "
elseif a:file =~# '.feature$'
if a:file =~# '\<spec/'
Please sign in to comment.
Something went wrong with that request. Please try again.