test/path_helper.rb in ruote-2.2.0 vs test/path_helper.rb in ruote-2.3.0
- old
+ new
@@ -8,8 +8,8 @@
# making sure the tests see ruote
puts `ruby -v`
puts Time.now.to_s
-ruotelib = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
+ruotelib = File.expand_path('../../lib', __FILE__)
$:.unshift(ruotelib) unless $:.include?(ruotelib)