Skip to content

Commit

Permalink
Support test/unit files that being with 'test_'
Browse files Browse the repository at this point in the history
  • Loading branch information
jgdavey committed Mar 5, 2012
1 parent 138d985 commit bb49e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/turbux.vim
Expand Up @@ -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/'
Expand Down

0 comments on commit bb49e54

Please sign in to comment.