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

failing test for a case when RR.mock breaks objects that use method_missing #83

Closed enthal closed 1 year ago

enthal commented 12 years ago

This test case fails: RR.reset doesn't fully do so, so some specs in our app that pass in isolation fail when run after/before certain other specs. Thanks.

kylev commented 12 years ago

This behavior caused a really problematic leak-over between tests when one of my developers did stub(Rails.app.config).some_setting { true } and it didn't reset correctly.

mcmire commented 11 years ago

This may or may not be related to #43.