@@ -384,8 +384,10 class RepositoryGitTest < ActiveSupport::TestCase | |||||
384 | end |
|
384 | end | |
385 |
|
385 | |||
386 | def test_identifier |
|
386 | def test_identifier | |
|
387 | assert_equal 0, @repository.changesets.count | |||
387 | @repository.fetch_changesets |
|
388 | @repository.fetch_changesets | |
388 |
@ |
|
389 | @project.reload | |
|
390 | assert_equal NUM_REV, @repository.changesets.count | |||
389 | c = @repository.changesets.find_by_revision( |
|
391 | c = @repository.changesets.find_by_revision( | |
390 | '7234cb2750b63f47bff735edc50a1c0a433c2518') |
|
392 | '7234cb2750b63f47bff735edc50a1c0a433c2518') | |
391 | assert_equal c.scmid, c.identifier |
|
393 | assert_equal c.scmid, c.identifier |
General Comments 0
You need to be logged in to leave comments.
Login now