test/test_gitback.rb in gitback-0.1.2 vs test/test_gitback.rb in gitback-0.1.3
- old
+ new
@@ -1,5 +1,5 @@
-require "#{File.dirname(__FILE__)}/helper"
+require File.join(File.expand_path(File.dirname(__FILE__)), 'helper')
class TestGitback < Test::Unit::TestCase
def setup
@dirname = File.expand_path(File.dirname(__FILE__))
@remote_path = File.expand_path(File.join(@dirname, *%w[repos remote_repo]))