[rspec-users] Dealing with nested/namespaced classes w/ describe

2007-07-23 Thread Scott Taylor
Hi all, Just wondering about this: I've been dealing with classes/modules nested in several layers of namespaces. Here would be an example of a describe block: describe ClassOne::ClassTwo::ClassThree, "description here" do ... end What would be the easiest way to write something a little

Re: [rspec-users] Dealing with nested/namespaced classes w/ describe

2007-07-23 Thread Kyle Hargraves
Scott Taylor wrote: > Hi all, > > Just wondering about this: I've been dealing with classes/modules > nested in several layers of namespaces. Here would be an example of > a describe block: > > describe ClassOne::ClassTwo::ClassThree, "description here" do > ... > end > > What would be the

Re: [rspec-users] Dealing with nested/namespaced classes w/ describe

2007-07-23 Thread Scott Taylor
Ah. Thank you. That is just a wonderful solution. Much better than the solution of redefining a new constant. Best, Scott On Jul 23, 2007, at 10:15 PM, Kyle Hargraves wrote: > Scott Taylor wrote: >> Hi all, >> >> Just wondering about this: I've been dealing with classes/modules >> nested