minor: tests now prefer test-unit gem in ruby 1.9.x
This commit is contained in:
parent
1c765fb338
commit
12e1af0c3d
|
@ -1,5 +1,6 @@
|
|||
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'bson')
|
||||
require 'rubygems' if RUBY_VERSION < '1.9.0' && ENV['C_EXT']
|
||||
gem 'test-unit' if RUBY_VERSION > '1.9.0'
|
||||
require 'test/unit'
|
||||
|
||||
def silently
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
require 'rubygems' if RUBY_VERSION < '1.9.0' && ENV['C_EXT']
|
||||
require 'mongo'
|
||||
gem 'test-unit' if RUBY_VERSION > '1.9.0'
|
||||
require 'test/unit'
|
||||
|
||||
def silently
|
||||
|
|
Loading…
Reference in New Issue