Open delphaber opened 8 years ago
Do you mean RunCurrentSpecFile
(the whole of the file you're currently in) or RunNearestSpec
(the single example or group which your cursor is in)?
Sorry... I was talking about RunNearestSpec
. Thanks!
What happens when you run RSpec with that line number e.g:
rspec spec/my_spec.rb:17
When I run the current test in a spec file with shared_examples, then rspec does not run my test, but another.
I think because shared_examples are "injected" into the spec file, fooling the line number mechanism.
Is it just me?