diff options
-rw-r--r-- | test/unit/repository_git_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index 206dab856..103c236a2 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -361,8 +361,10 @@ class RepositoryGitTest < ActiveSupport::TestCase end def test_find_changeset_by_name + assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload + assert_equal NUM_REV, @repository.changesets.count ['7234cb2750b63f47bff735edc50a1c0a433c2518', '7234cb2750b'].each do |r| assert_equal '7234cb2750b63f47bff735edc50a1c0a433c2518', @repository.find_changeset_by_name(r).revision |