Hello guys,
Recently an application started to print these nasty messaes everytime
I try to run a rake task:
=====
Loaded suite /usr/bin/rake
Started
Finished in 0.000235 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
It’s as if something is calling the test runner. I’
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
Hello guys,
Recently an application started to print these nasty messaes everytime
I try to run a rake task:
=====
Loaded suite /usr/bin/rake
Started
Finished in 0.000235 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
It’s as if something is calling the test runner, but i’m not really
sure why or where.
I’m running rails 2.2.2 and RSpec 1.1.11.
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
On Dec 23, 1:08 pm, “Maurício Linhares” [email protected]
wrote:
Hello guys,
Recently an application started to print these nasty messaes everytime
I try to run a rake task:
Some thing is requiring test/unit
Fred
On Tue, Dec 23, 2008 at 10:59 AM, Frederick C.
[email protected] wrote:
Some thing is requiring test/unit
Is there any way to discover who’s doing it? Or any way to disable it?
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
Well, solved it 
Here’s the deal for future searches, I’ve added a require method to my
environment.rb file (before rails boot require):
def require( file )
if file == ‘test/unit’
raise “do not require this shit”
else
super
end
end
And just found out where it was being required 
Thanks!
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
On Tue, Dec 23, 2008 at 11:07 AM, Maurício Linhares