toptal / crystalball

Regression Test Selection library for your RSpec test suite
https://toptal.github.io/crystalball/
MIT License
322 stars 41 forks source link

Remove RSpec focus when a file is passed with and without its id #83

Closed jaimerson closed 6 years ago

jaimerson commented 6 years ago

We have a bug where if a prediction returns ./spec/some_spec.rb ./spec/some_spec.rb[1:1], RSpec will only run spec/some_spec.rb[1:1]. We only have this kind of prediction because compacting was temporarily disabled in #74. So until we can figure out how to make compacting faster, we eneed this fix.