Skip to content

Commit 09ffc84

Browse files
committed
Fix :Rake test run with Rails 5
Closes tpope#471
1 parent 80e03f7 commit 09ffc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ function! s:readable_default_rake_task(...) dict abort
13971397
if empty(test)
13981398
return '--tasks'
13991399
elseif test =~# '^test\>' && self.app().has('rails5')
1400-
return 'test '.s:rquote(with_line)
1400+
return 'test TEST='.s:rquote(with_line)
14011401
elseif test =~# '^test\>'
14021402
let opts = ''
14031403
if test ==# self.name()

0 commit comments

Comments
 (0)