Skip to content

Commit 3971cb7

Browse files
committed
Fix :Runner when no test file
1 parent e48058f commit 3971cb7

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
@@ -1701,7 +1701,7 @@ function! s:readable_runner_command(bang, count, arg) dict abort
17011701
else
17021702
let arg = self.test_file()
17031703
if empty(arg)
1704-
let arg = a:arg
1704+
let arg = self.name()
17051705
endif
17061706
endif
17071707

0 commit comments

Comments
 (0)