test/helper.rb in rays-0.1.29 vs test/helper.rb in rays-0.1.30
- old
+ new
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
%w[../xot ../rucy .]
- .map {|s| File.expand_path "../../#{s}/lib", __FILE__}
+ .map {|s| File.expand_path "../#{s}/lib", __dir__}
.each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
require 'test/unit'
require 'xot/test'
require 'rays'