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