--tag option disables the default :if and :unless filtering #353

myronmarston opened this Issue Apr 27, 2011 · 0 comments


None yet

2 participants


When I run my specs using a command like rspec spec --tag ~slow (which will exclude any specs with :slow => true metadata), the filtering I have done with :if and :unless is disabled. The :if and :unless filters should apply regardless of the tag passed at the command line.

@myronmarston myronmarston was assigned Apr 27, 2011
@joshcooper joshcooper pushed a commit to joshcooper/rspec-core that referenced this issue May 19, 2011
joshcooper Properly merge command-line exclusions with default :if and :unless.
Fixes issue #353.
@justinko justinko closed this in 335729f May 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment