Closed Jell closed 5 years ago
Is that related to #174?
from a quick glance, I don’t think so? this issue is not about path expansion but about using the wrong project root dir
Maybe they are the same issue. rspec-verify-continue
runs successfully with applying #174 patch.
@Jell I've merged the other PR. Please see if the problem remains.
that actually did the trick! thanks @dgutov
Problem
Running
rspec-verify-continue
appends the current directory to the relative directory of the file it is run fromReproduce
Open spec/models/foo_spec.rb M-x rspec-verify-continue
It will try to run rspec /user/me/project/spec/models/spec/models/foo_spec.rb
Cause and solution
dynamic scoping and closure not playing well, avoid shadowing of variables to resolve