Bugs: Browse | Submit New | Admin

[#18336] private methods not left properly unchanged after stubbing

Date:
2008-02-24 15:01
Priority:
3
Submitted By:
James Mead (jamesmead)
Assigned To:
Nobody (None)
Category:
None
State:
Closed
Summary:
private methods not left properly unchanged after stubbing

Detailed description
Original private method does not appear in Object#private_methods after stubbing.

See tests that demonstrate this problem here [1].

Cheers, James.

[1] http://pastie.caboo.se/156556

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-03-08 18:48
Sender: James Mead

Now (hopefully) properly fixed with more extensive acceptance
tests in revision 287.
Date: 2008-02-25 09:52
Sender: James Mead

The fix for this bug (revision 283) seemed to break tests involving
stubbing methods on AR association proxies and stubbing AR attribute
accessor methods. The fix has been reverted in revision 284 pending
further investigation.
Date: 2008-02-24 15:33
Sender: James Mead

Fixed in revision 283.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2008-03-08 18:48jamesmead
close_date2008-03-08 18:482008-03-08 18:48jamesmead
status_idClosed2008-02-25 12:53jamesmead
close_date2008-02-25 09:522008-02-25 09:52jamesmead
status_idOpen2008-02-24 15:33jamesmead
close_date2008-02-24 15:332008-02-24 15:33jamesmead