Moved from dchelimsky/rspec#47
Originally reported by @cj
RSpec is no longer looking for :focus in 2.8.0.rc1 it just runs all the tests even though I have a describe with :focus, it also no longer says it's even looking for focus. Here's my spec_helper.rb https://gist.github.com/455b7c83ae541f2f8bdf
Any help would be great.
I can't reproduce this using rspec-2.8, guard-0.9.4, and spork-0.9.0.rc9.
Can anybody provide a lib I can clone and run rspec in to see this behavior?
/cc @thibaudgg, @jfelchner, @skaufman
Here a Rails app example to show how it failed: https://github.com/thibaudgg/rspec_tags
Just run bundler and launch Guard
It really seems to be an issue with RSpec 2.8 and Spork (guard-rspec do nothing special here)
@thibaudgg excellent. I was able to see the issue with your app. At this point I have no idea of the cause, but I'll have some time to debug it tomorrow/Monday.
Great, have a nice week-end David. Thanks!
I can confirm I have the same issue.
Thanks for jumping on this so fast David. If there's anything I can do to help, let me know.
I've figured out the problem and have a fix in the works. No ETA at this point.
Ensure that values passed to `config.filter_run` are respected when
running over DRb (using spork).
- Fixes #554.
FYI - the problem was that tags/filters are stored in a separate FilterManager object, which was getting overwritten on the DRb server. The solution was to treat that object as, effectively, a singleton so that the remote instance isn't clobbered.
Seems to me this won't be the last time this bites us given this design, but I'm not sure of a better way.
Changelog for #554