Ross Bamford
12/6/2006 2:33:00 AM
On Wed, 06 Dec 2006 01:36:09 -0000, Giles Bowkett <gilesb@gmail.com> 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