Permalink
Browse files

Fix :Rake test run with Rails 5

Closes #471
  • Loading branch information...
1 parent 80e03f7 commit 09ffc844ef959ffe133d0994641ade192531007e @tpope committed Oct 15, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/rails.vim
View
@@ -1397,7 +1397,7 @@ function! s:readable_default_rake_task(...) dict abort
if empty(test)
return '--tasks'
elseif test =~# '^test\>' && self.app().has('rails5')
- return 'test '.s:rquote(with_line)
+ return 'test TEST='.s:rquote(with_line)
elseif test =~# '^test\>'
let opts = ''
if test ==# self.name()

0 comments on commit 09ffc84

Please sign in to comment.