test/dbi/tc_time.rb in ydbi-0.5.6 vs test/dbi/tc_time.rb in ydbi-0.5.7

- old
+ new

@@ -1,17 +1,11 @@ ############################################################################## # tc_time.rb # # Test case for the DBI::Time class (currently) located in the utils.rb file. ############################################################################## -$LOAD_PATH.unshift(Dir.pwd) -$LOAD_PATH.unshift(File.dirname(Dir.pwd)) -$LOAD_PATH.unshift("../../lib") -$LOAD_PATH.unshift("../../lib/dbi") -$LOAD_PATH.unshift("lib") - -require 'dbi' -require 'test/unit' +require "test/unit" +require_relative "../../lib/dbi" Deprecate.set_action(proc { }) class TC_DBI_Time < Test::Unit::TestCase def setup