@@ -191,13 +191,6 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
191 | assert_equal 'abc400bb8672', c.event_url[:rev] |
|
191 | assert_equal 'abc400bb8672', c.event_url[:rev] | |
192 | end |
|
192 | end | |
193 |
|
193 | |||
194 | def test_latest_changesets_with_limit |
|
|||
195 | @repository.fetch_changesets |
|
|||
196 | @repository.reload |
|
|||
197 | changesets = @repository.latest_changesets('', nil, 2) |
|
|||
198 | assert_equal @repository.latest_changesets('', nil)[0, 2], changesets |
|
|||
199 | end |
|
|||
200 |
|
||||
201 | def test_previous |
|
194 | def test_previous | |
202 | @repository.fetch_changesets |
|
195 | @repository.fetch_changesets | |
203 | @repository.reload |
|
196 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now