[rspec-users] Depot app, Demeter's law and troubles cleanly specing

Pat Maddox pat.maddox at gmail.com
Mon Apr 20 15:40:08 EDT 2009


I wrote a blog post that may be helpful.
http://www.patmaddox.com/blog/demeter-is-for-encapsulation  Basically,
when you have structural objects as in this case, demeter isn't
useful.

Luke Redpath wrote something called Demeter's Revenge which you might
want to look at.  I've not used it though so I can't tell you if it
will solve your problems.

Pat


More information about the rspec-users mailing list