rcarriga/vim-ultest

Test Nearest not working for ruby when tests dont have description ("it do")

the-moriarty opened this issue · 0 comments

In Ruby (rspec), is very common to tests dont have an description (rspec will generate one at runtime).

Example:

image

The :TestNearest just pick the line number and put at the end of command like rspec my_file_spec.rb:200

With :UltestNearest, when the it dont have and description, it just don runs (if has an it with description on file, it runs it instead the right test)

image