diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index c56e7b75b..0d052352c 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -374,8 +374,10 @@ class RepositoryGitTest < ActiveSupport::TestCase end def test_find_changeset_by_empty_name + assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload + assert_equal NUM_REV, @repository.changesets.count ['', ' ', nil].each do |r| assert_nil @repository.find_changeset_by_name(r) end