@@ -394,8 +394,10 class RepositoryGitTest < ActiveSupport::TestCase | |||||
394 | end |
|
394 | end | |
395 |
|
395 | |||
396 | def test_format_identifier |
|
396 | def test_format_identifier | |
|
397 | assert_equal 0, @repository.changesets.count | |||
397 | @repository.fetch_changesets |
|
398 | @repository.fetch_changesets | |
398 |
@ |
|
399 | @project.reload | |
|
400 | assert_equal NUM_REV, @repository.changesets.count | |||
399 | c = @repository.changesets.find_by_revision( |
|
401 | c = @repository.changesets.find_by_revision( | |
400 | '7234cb2750b63f47bff735edc50a1c0a433c2518') |
|
402 | '7234cb2750b63f47bff735edc50a1c0a433c2518') | |
401 | assert_equal '7234cb27', c.format_identifier |
|
403 | assert_equal '7234cb27', c.format_identifier |
General Comments 0
You need to be logged in to leave comments.
Login now