test/unit/bio/sequence/test_common.rb in bio-1.3.1 vs test/unit/bio/sequence/test_common.rb in bio-1.4.0
- old
+ new
@@ -7,13 +7,15 @@
# License:: The Ruby License
#
# $Id:$
#
+# loading helper routine for testing bioruby
require 'pathname'
-libpath = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 4, 'lib')).cleanpath.to_s
-$:.unshift(libpath) unless $:.include?(libpath)
+load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 3,
+ 'bioruby_test_helper.rb')).cleanpath.to_s
+# libraries needed for the tests
require 'test/unit'
require 'bio/sequence'
require 'bio/sequence/common'
module Bio; module TestSequenceCommon