@@ -57,7 +57,10 class RepositorySubversionTest < ActiveSupport::TestCase | |||||
57 | end |
|
57 | end | |
58 |
|
58 | |||
59 | def test_latest_changesets |
|
59 | def test_latest_changesets | |
|
60 | assert_equal 0, @repository.changesets.count | |||
60 | @repository.fetch_changesets |
|
61 | @repository.fetch_changesets | |
|
62 | @project.reload | |||
|
63 | assert_equal NUM_REV, @repository.changesets.count | |||
61 |
|
64 | |||
62 | # with limit |
|
65 | # with limit | |
63 | changesets = @repository.latest_changesets('', nil, 2) |
|
66 | changesets = @repository.latest_changesets('', nil, 2) |
General Comments 0
You need to be logged in to leave comments.
Login now