From 5d0869bcde513f886fa552a89624a9d85c41ac94 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 27 Feb 2011 13:50:00 +0000 Subject: [PATCH] scm: mercurial: change project id of unit app test from 1 to 3. Project id 1 has Subversion fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4957 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_mercurial_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 384ba42df..5b2c70e69 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -24,7 +24,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository' def setup - @project = Project.find(1) + @project = Project.find(3) @repository = Repository::Mercurial.create(:project => @project, :url => REPOSITORY_PATH) assert @repository end