test/unit/bio/test_db.rb in bio-1.3.1 vs test/unit/bio/test_db.rb in bio-1.4.0

- old
+ new

@@ -2,16 +2,18 @@ # test/unit/bio/test_db.rb - Unit test for Bio::DB # # Copyright:: Copyright (C) 2005 Mitsuteru Nakao <n@bioruby.org> # License:: The Ruby License # -# $Id: test_db.rb,v 1.4 2007/04/05 23:35:42 trevor Exp $ +# $Id:$ # +# loading helper routine for testing bioruby require 'pathname' -libpath = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 3, 'lib')).cleanpath.to_s -$:.unshift(libpath) unless $:.include?(libpath) +load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 2, + 'bioruby_test_helper.rb')).cleanpath.to_s +# libraries needed for the tests require 'test/unit' require 'bio/db' module Bio class TestDB < Test::Unit::TestCase