mirror of
https://github.com/redmine/redmine.git
synced 2026-03-03 19:11:28 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user