File: test_helper.rb

package info (click to toggle)
ruby-test-unit-context 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184 kB
  • sloc: ruby: 826; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
begin
  require 'test/unit/version'
  puts "using Test::Unit::VERSION = #{Test::Unit::VERSION}" if $VERBOSE
rescue LoadError => e
  require('rubygems') && retry
  fail "`bundle install` to install Test::Unit 2.x (#{e.inspect})"
end
$LOAD_PATH.unshift File.expand_path('../lib', File.dirname(__FILE__))
require 'test/unit/context'