Sha256: 0d6610127039bcb9f3768b5988530d15dce1c980c14948544933b76988e471a4
Contents?: true
Size: 739 Bytes
Versions: 18
Compression:
Stored size: 739 Bytes
Contents
# make sure latest verison is used, rather than ruby's built-in begin gem 'minitest' rescue Exception warn "gem install minitest" 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
18 entries across 18 versions & 5 rubygems