diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index 103c236a2..c56e7b75b 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -350,8 +350,10 @@ class RepositoryGitTest < ActiveSupport::TestCase elsif JRUBY_SKIP puts JRUBY_SKIP_STR else + assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload + assert_equal NUM_REV, @repository.changesets.count changesets = @repository.latest_changesets( "latin-1-dir/test-#{@char_1}-subdir", '1ca7f5ed') assert_equal [