Mercurial > hg > soundsoftware-site
comparison test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @ 119:8661b858af72
* Update to Redmine trunk rev 4705
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:12:06 +0000 |
parents | 94944d00e43c |
children | 051f544170fe |
comparison
equal
deleted
inserted
replaced
39:150ceac17a8d | 119:8661b858af72 |
---|---|
1 require File.dirname(__FILE__) + '/../../../../../test_helper' | 1 # encoding: utf-8 |
2 | |
3 require File.expand_path('../../../../../../test_helper', __FILE__) | |
2 | 4 |
3 class GitAdapterTest < ActiveSupport::TestCase | 5 class GitAdapterTest < ActiveSupport::TestCase |
4 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/git_repository' | 6 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/git_repository' |
5 | 7 |
6 if File.directory?(REPOSITORY_PATH) | 8 if File.directory?(REPOSITORY_PATH) |