Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Provide Demeter-violating stubbing extension

#23

Rails association proxies and named-scopes are sometimes cumbersome to mock because of the necessary (?) train-wreck code. Flexmock provides a mechanism to make setting up stubs for such code terser. We should consider adding something like this to Mocha, but I think it should be an optional extension.

See http://groups.google.com/group/m...

See also "Mocking Law of Demeter Violations" section of Flexmock docs http://flexmock.rubyforge.org/

Reported by James Mead · January 3rd, 2009 @ 01:13 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.