about summary refs log tree commit homepage
path: root/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 7615fdd..e5f1a13 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -5,7 +5,7 @@
 # for more information.
 
 
-HERE = File.dirname(__FILE__)
+HERE = File.dirname(__FILE__) unless defined?(HERE)
 %w(lib ext bin test).each do |dir|
   $LOAD_PATH.unshift "#{HERE}/../#{dir}"
 end
@@ -76,4 +76,4 @@ end
 # Platform check helper ;-)
 def windows?
   result = RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
-end \ No newline at end of file
+end