test/test_helper.rb in sgl-0.3.1 vs test/test_helper.rb in sgl-0.4.0
- old
+ new
@@ -1,2 +1,10 @@
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+# License: Ruby License
+
+$__test_sgl__ = true
+
+libdir = File.expand_path(File.dirname(__FILE__) + '/../lib')
+$LOAD_PATH.unshift(libdir) if !$LOAD_PATH.include?(libdir)
+
require 'test/unit'
-require File.dirname(__FILE__) + '/../lib/sgl'
+require 'sgl'