@@ -175,8 +175,9 class RepositoryGitTest < ActiveSupport::TestCase | |||||
175 |
|
175 | |||
176 | def test_db_consistent_ordering_init |
|
176 | def test_db_consistent_ordering_init | |
177 | assert_nil @repository.extra_info |
|
177 | assert_nil @repository.extra_info | |
|
178 | assert_equal 0, @repository.changesets.count | |||
178 | @repository.fetch_changesets |
|
179 | @repository.fetch_changesets | |
179 |
@ |
|
180 | @project.reload | |
180 | assert_equal 1, @repository.extra_info["db_consistent"]["ordering"] |
|
181 | assert_equal 1, @repository.extra_info["db_consistent"]["ordering"] | |
181 | end |
|
182 | end | |
182 |
|
183 |
General Comments 0
You need to be logged in to leave comments.
Login now