@@ -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