From: Ronald E Jeffries Date: 2004-02-09T09:14:06+09:00 Subject: Re: New Computer, version, confusion On Thu, 5 Feb 2004 05:07:39 +0900, Nathaniel Talbott wrote: >> class TestBinsrch < Test::Unit::TestCase >> >> When I make that change, things seem to be working OK. What happened? >> What would I have to do to make it go back to the other way? > >Well, previously you were probably using an actual installation of >RubyUnit, which I guess aliased RUNIT::TestCase to the top-level >constant TestCase. Test::Unit doesn't do that, because I'd rather not >pollute the namespace automatically. Thus you need to fully qualify the >class name. A possible workaround if you have a bunch of tests that you >don't want to change is to do the following before your tests: > > include Test::Unit > >Which imports that namespace in to the top-level. OK, gotcha. I can do that, or use Joel's trick. I was just concerned that my new setup was gratuitously different. And how's your life going? Well, I hope! -- Ron Jeffries www.XProgramming.com I'm giving the best advice I have. You get to decide if it's true for you.