at_exit: don't mask nonzero exit status due to $!
This allows us to simplify the filter_applies? method on metadata, and gives us a small performance boost by not evaluating procs that would always return false. - Closes #556.
Prefer described_class over describes
Autotest fails if RSpec executable path contains spaces
This change ensures that RSpec's at_exit handler doesn't mask (override) any nonzero exit status, which can happen when Ruby is on it's way out due to an uncaught exception ($!) such as a SyntaxError. Please see this bug report for more information: sunaku/tork#31 (comment)
- Closes #556.
…st ree for now
- See 5c73b8c
Display both minutes and seconds of duration time when specs are finished.
… anonymouus controller in corresponding example group, redefines only :described_class, but later we try to get `described_class` it examples to instantiate anonymous controller and got :describes value. Described class chould be taken first.
…an 60 seconds
This removes the following warning: WARNING: Using 'Given/When/Then' in step definitions is deprecated, use 'step' to call other steps instead