lib/turn/minitest.rb in turn-0.9.0 vs lib/turn/minitest.rb in turn-0.9.1

- old
+ new

@@ -1,12 +1,13 @@ -#require 'turn' - # make sure latest verison is used, rather than ruby's built-in begin; gem 'minitest'; rescue Exception; end # we save the developer the trouble of having to load these (TODO: should we?) require 'minitest/unit' require 'minitest/spec' + +# compatability with old Test::Unit +Test = MiniTest unless defined?(Test) # load Turn's minitest runner require 'turn/runners/minirunner' # set MiniTest's runner to Turn::MiniRunner instance