rubyspec/mspec — pull request #45 by iainbeeston (2013-08-10 05:11:38+00:00)
Title: The logic for BugGuard is the wrong way around

The logic for the BugGuard was the wrong way around - it was yielding when #match? returned false, which ment that if mspec was in no_ruby_mode (ie. 'rmspec ci' was the command used to run it) it would run describe blocks inside a ruby_bug statement. According to the documentation for mspec-ci this is the opposite of what should happen (mspec-ci "has a special runner that excludes the specs that are tagged as failing").

I discovered this when I noticed that the rubyspec test suite (on travis) tends to stall when running tests inside a ruby_bug block. These should not have been run at all when mspec is in ci mode, which lead me to the logic being inverted.