##// END OF EJS Templates
scm: git: add test of from_path at unit model test_fetch_changesets_from_scratch...
Toshi MARUYAMA -
r9155:cdb7ea8b916e
parent child
Show More
@@ -114,6 +114,7 class RepositoryGitTest < ActiveSupport::TestCase
114 assert_equal 3, commit.changes.count
114 assert_equal 3, commit.changes.count
115 change = commit.changes.sort_by(&:path).first
115 change = commit.changes.sort_by(&:path).first
116 assert_equal "README", change.path
116 assert_equal "README", change.path
117 assert_equal nil, change.from_path
117 assert_equal "A", change.action
118 assert_equal "A", change.action
118
119
119 assert_equal NUM_HEAD, @repository.extra_info["heads"].size
120 assert_equal NUM_HEAD, @repository.extra_info["heads"].size
General Comments 0
You need to be logged in to leave comments. Login now