From 9cefc90b0be4cc14d364d4c4631a6f8b944a6a58 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 29 Dec 2013 13:48:52 +0000 Subject: Rails4: scm: reload repository after destroying changesets in incremental fetch test git-svn-id: http://svn.redmine.org/redmine/trunk@12472 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_subversion_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/unit/repository_subversion_test.rb') diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb index df5455d32..45eff11c8 100644 --- a/test/unit/repository_subversion_test.rb +++ b/test/unit/repository_subversion_test.rb @@ -77,6 +77,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase # Remove changesets with revision > 5 @repository.changesets.all.each {|c| c.destroy if c.revision.to_i > 5} @project.reload + @repository.reload assert_equal 5, @repository.changesets.count @repository.fetch_changesets -- cgit v1.2.3