From cdb7ea8b916ef52d9060574da12ac4037bef9492 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 29 Mar 2012 21:37:10 +0000 Subject: [PATCH] scm: git: add test of from_path at unit model test_fetch_changesets_from_scratch git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9289 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_git_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index aa4308fdd..6ea201f9f 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -114,6 +114,7 @@ class RepositoryGitTest < ActiveSupport::TestCase assert_equal 3, commit.changes.count change = commit.changes.sort_by(&:path).first assert_equal "README", change.path + assert_equal nil, change.from_path assert_equal "A", change.action assert_equal NUM_HEAD, @repository.extra_info["heads"].size -- 2.39.5