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

- old
+ new

@@ -4,16 +4,18 @@ # Copyright:: Copyright (C) 2004 # Moses Hohman <mmhohman@northwestern.edu> # 2005 Naohisa Goto <ng@bioruby.org> # License:: The Ruby License # -# $Id: test_alignment.rb,v 1.12 2007/12/26 13:55:40 ngoto 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/alignment' module Bio