This has been moved into rspec-support:

https://github.com/rspec/rspec-support/blob/c76d20840ca78ecd64db92b4aebd99bfd6433240/lib/rspec/support/spec.rb#L19-L22

...so you can remove it here.