color.rb brings in test unit with require
Reported by Bryan Liles | April 3rd, 2008 @ 03:03 PM
the "require 'test/unit/ui/console/testrunner'" at the top brings in test::unit that causes things like this to happen:
15:02:41$ rake db:migrate
(in /Users/bryan/Desktop/Pending/sourcefire/s2k8/saleslogix)
Loaded suite /opt/local/bin/rake
Started
Finished in 0.000162 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Comments and changes to this ticket
-
Tammer Saleh April 17th, 2008 @ 08:01 PM
Hey Bryan,
Yeah, that's something I couldn't figure out how to fix. Let me know if you find a way of fixing this while retaining color support.
Cheers,
Tammer
-
Josh Nichols June 27th, 2008 @ 12:40 PM
- → Tag cleared.
- → Assigned user cleared.
I'm curious, but why would one want to use 'color: true' rather than just using the redgreen gem directly?
In your test/test_helper.rb, you can do something like:
begin require 'redgreen'; rescue LoadError; end
Doing this doesn't affect the output of rake db:migrate.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
