From: Francois Beausoleil Date: 2007-02-03T02:34:00+09:00 Subject: Re: Calling a class method from an extended object Hi ! 2007/2/2, dblack@wobblini.net :> I would do it differently, because I've never been a fan of the> InstanceMethods/ClassMethods thing. I prefer just to include or> extend separate modules as needed and where needed. But I know it's> very popular. Here's what I did instead:class AuthenticatedSystemAuthorizationTest < Test::Unit::TestCase class Controller < MockControllerBase include AuthenticatedSystem end def setup @controller = Controller.new endend Thank you, David, for your help !-- Franå·½ois Beausoleilhttp://blog.teksol.info/http://piston.rubyforge.org/