test/test_helper.rb in evdispatch-0.4.0 vs test/test_helper.rb in evdispatch-0.4.1
- old
+ new
@@ -1,3 +1,6 @@
require 'test/unit'
-$:.unshift File.dirname(__FILE__) + "/../ext/revdispatch"
-require File.dirname(__FILE__) + '/../lib/evdispatch'
+
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..','ext','revdispatch'))
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..','lib'))
+
+require 'evdispatch'