summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_git_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/repository_git_test.rb')
-rw-r--r--test/unit/repository_git_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb
index 470afbd47..a6a743486 100644
--- a/test/unit/repository_git_test.rb
+++ b/test/unit/repository_git_test.rb
@@ -175,8 +175,9 @@ class RepositoryGitTest < ActiveSupport::TestCase
def test_db_consistent_ordering_init
assert_nil @repository.extra_info
+ assert_equal 0, @repository.changesets.count
@repository.fetch_changesets
- @repository.reload
+ @project.reload
assert_equal 1, @repository.extra_info["db_consistent"]["ordering"]
end