Work around RSpec 3.3/MRI 1.8.7 incompatibility in Handlers::Ruby::Legacy::Base spec
Work around RSpec 3.3/MRI 1.8.7 incompatibility in Handlers::Ruby::Legacy::Base spec

In MRI 1.8.7, singleton methods cannot be rebound, even to a subclass. This breaks
one of our specs.

A possible fix has been sent to the RSpec developers here:
https://github.com/rspec/rspec-mocks/pull/1026

In the meantime, work around it with a conditional.

thomthom/yard,amclain/yard,thomthom/yard,amclain/yard,amclain/yard,thomthom/yard,lsegal/yard,lsegal/yard,lsegal/yard