@@ -102,8 +102,10 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
102 | end |
|
102 | end | |
103 |
|
103 | |||
104 | def test_latest_changesets |
|
104 | def test_latest_changesets | |
|
105 | assert_equal 0, @repository.changesets.count | |||
105 | @repository.fetch_changesets |
|
106 | @repository.fetch_changesets | |
106 |
@ |
|
107 | @project.reload | |
|
108 | assert_equal NUM_REV, @repository.changesets.count | |||
107 |
|
109 | |||
108 | # with_limit |
|
110 | # with_limit | |
109 | changesets = @repository.latest_changesets('', nil, 2) |
|
111 | changesets = @repository.latest_changesets('', nil, 2) |
General Comments 0
You need to be logged in to leave comments.
Login now