@@ -227,8 +227,10 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
227 | 227 | end |
|
228 | 228 | |
|
229 | 229 | def test_latest_changesets |
|
230 | assert_equal 0, @repository.changesets.count | |
|
230 | 231 | @repository.fetch_changesets |
|
231 |
@ |
|
|
232 | @project.reload | |
|
233 | assert_equal NUM_REV, @repository.changesets.count | |
|
232 | 234 | # with limit |
|
233 | 235 | changesets = @repository.latest_changesets('', nil, 2) |
|
234 | 236 | assert_equal 2, changesets.size |
General Comments 0
You need to be logged in to leave comments.
Login now