Mercurial > hg > soundsoftware-site
comparison test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @ 118:b859cc0c4fa1 cannam
Merge from branch "redmine-1.1"
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 13:21:03 +0000 |
parents | af80e5618e9b |
children | 051f544170fe |
comparison
equal
deleted
inserted
replaced
114:8a205cc048de | 118:b859cc0c4fa1 |
---|---|
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) |