Commit 9b0066bf authored by tmaruyama's avatar tmaruyama

scm: git: add test of from_path at unit model test_fetch_changesets_from_scratch

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 8e662033
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment