From: Ross Bamford Date: 2006-12-06T11:40:05+09:00 Subject: Re: anti-require? On Wed, 06 Dec 2006 01:36:09 -0000, Giles Bowkett wrote: > Is there something like "unrequire"? test/unit is being loaded by a > slightly spaghetti Rails app and I want to eliminate that. It's giving > me a "0 test, 0 assertions" footer on every page load in dev and > driving me nuts. The problem doesn't exist in production, just > somewhere in dev, and I don't have time to fix it right away. > A quick hack that might work, until you get chance to fix it properly. Do this somewhere early on: $" << 'test/unit.rb' -- Ross Bamford - rosco@roscopeco.remove.co.uk