summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/repository_subversion_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb
index 7353c8831..f181e5bd0 100644
--- a/test/unit/repository_subversion_test.rb
+++ b/test/unit/repository_subversion_test.rb
@@ -57,7 +57,10 @@ class RepositorySubversionTest < ActiveSupport::TestCase
end
def test_latest_changesets
+ assert_equal 0, @repository.changesets.count
@repository.fetch_changesets
+ @project.reload
+ assert_equal NUM_REV, @repository.changesets.count
# with limit
changesets = @repository.latest_changesets('', nil, 2)