@@ -52,9 +52,10 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
52 | end |
|
52 | end | |
53 |
|
53 | |||
54 | def test_fetch_changesets_from_scratch |
|
54 | def test_fetch_changesets_from_scratch | |
|
55 | assert_equal 0, @repository.changesets.count | |||
55 | @repository.fetch_changesets |
|
56 | @repository.fetch_changesets | |
56 |
@ |
|
57 | @project.reload | |
57 |
assert_equal |
|
58 | assert_equal NUM_REV, @repository.changesets.count | |
58 | assert_equal 37, @repository.changes.count |
|
59 | assert_equal 37, @repository.changes.count | |
59 | assert_equal "Initial import.\nThe repository contains 3 files.", |
|
60 | assert_equal "Initial import.\nThe repository contains 3 files.", | |
60 | @repository.changesets.find_by_revision('0').comments |
|
61 | @repository.changesets.find_by_revision('0').comments |
General Comments 0
You need to be logged in to leave comments.
Login now