rspec/rspec-core — pull request #1687 by kcdragon (2014-08-29 14:24:27+00:00)
Title: Add better `inspect` output for ExampleGroup

Pull Request for #1590

The only problem I ran into was that the syntax error in the after hook test produces error output while running the spec (the test still passes).

> An error occurred in an `after(:context)` hook.
> NoMethodError: undefined method `expcts' for #

This is definitely not ideal because it could distract from problems with "real" after hooks. The only two options I could up with were: 1) remove the test, or 2) add a way to suppress that error. I'm interested in your thoughts on the best way to handle this.