btakita / rr

RR (Double Ruby) is a test double framework that features a rich selection of double techniques and a terse syntax.
http://github.com/rr/rr
MIT License
501 stars 58 forks source link

#any_instance_of is being redefined #73

Closed mvz closed 11 years ago

mvz commented 13 years ago

Silences a method redefined; discarding old any_instance_of warning when using RR or running its specs under Ruby 1.8.7.

mcmire commented 11 years ago

Hmm. This is interesting -- #any_instance_of and #new_instance_of are defined as aliases for #instance_of and then later overridden. Need to look into this.

mcmire commented 11 years ago

Fixed.