Since you're using `RSpec.warning` in the implementation, shouldn't that be the method you sub out here?

Also I'm guessing you have to redefine this explicitly is exactly because you're in a before all block? Seems like their should be a way for us to run an RSpec example group inside an example, but I'm not sure how OTOH.