We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ee415 commit a60f1b2Copy full SHA for a60f1b2
plugin/turbux.vim
@@ -61,7 +61,7 @@ function! s:prefix_for_test(file)
61
endfunction
62
63
function! s:test_file_for(file)
64
- if exists('g:autoloaded_rails') && !empty(rails#buffer())
+ if exists('g:autoloaded_rails') && !empty(rails#buffer()) && rails#buffer().test_file
65
return rails#buffer().test_file()
66
elseif !empty(s:prefix_for_test(a:file))
67
return a:file
0 commit comments