@@ -441,8 +441,10 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
441 | 441 | end |
|
442 | 442 | |
|
443 | 443 | def test_previous_nil |
|
444 | assert_equal 0, @repository.changesets.count | |
|
444 | 445 | @repository.fetch_changesets |
|
445 |
@ |
|
|
446 | @project.reload | |
|
447 | assert_equal NUM_REV, @repository.changesets.count | |
|
446 | 448 | %w|7234cb2750b63f47bff735edc50a1c0a433c2518 7234cb2|.each do |r1| |
|
447 | 449 | changeset = @repository.find_changeset_by_name(r1) |
|
448 | 450 | assert_nil changeset.previous |
General Comments 0
You need to be logged in to leave comments.
Login now