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