Use color in tests if the redgreen package is around
This commit is contained in:
parent
5a98b220d0
commit
2069d3d16d
@ -1,3 +1,8 @@
|
|||||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
||||||
require 'fakefs/safe'
|
require 'fakefs/safe'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
|
begin
|
||||||
|
require 'redgreen'
|
||||||
|
rescue LoadError
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user