Might be worth leveraging https://github.com/rspec/rspec-core/pull/1180