@@ -279,8 +279,10 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
279 | end |
|
279 | end | |
280 |
|
280 | |||
281 | def test_next |
|
281 | def test_next | |
|
282 | assert_equal 0, @repository.changesets.count | |||
282 | @repository.fetch_changesets |
|
283 | @repository.fetch_changesets | |
283 |
@ |
|
284 | @project.reload | |
|
285 | assert_equal NUM_REV, @repository.changesets.count | |||
284 | %w|27 7bbf4c738e71 7bbf|.each do |r2| |
|
286 | %w|27 7bbf4c738e71 7bbf|.each do |r2| | |
285 | changeset = @repository.find_changeset_by_name(r2) |
|
287 | changeset = @repository.find_changeset_by_name(r2) | |
286 | %w|28 3ae45e2d177d 3ae45|.each do |r1| |
|
288 | %w|28 3ae45e2d177d 3ae45|.each do |r1| |
General Comments 0
You need to be logged in to leave comments.
Login now