Sha256: fc9ee95af2be5d2721ebec2f43fff839bfd5199e330298e500a03d89da9453d5
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
# 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 if MiniTest::Unit.respond_to?(:runner=) MiniTest::Unit.runner = Turn::MiniRunner.new else raise "MiniTest v#{MiniTest::Unit::VERSION} is out of date.\n" \ "`gem install minitest` and add `gem 'minitest' to you test helper." #MiniTest::Unit = Turn::MiniRunner end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
turn-0.9.1 | lib/turn/minitest.rb |