@@ -255,6 +255,13 class RepositoryMercurialTest < ActiveSupport::TestCase | |||
|
255 | 255 | |
|
256 | 256 | changesets = @repository.latest_changesets('', 'tag_test.00') |
|
257 | 257 | assert_equal %w|5 4 3 2 1 0|, changesets.collect(&:revision) |
|
258 | end | |
|
259 | ||
|
260 | def test_latest_changesets_tag_with_path | |
|
261 | assert_equal 0, @repository.changesets.count | |
|
262 | @repository.fetch_changesets | |
|
263 | @project.reload | |
|
264 | assert_equal NUM_REV, @repository.changesets.count | |
|
258 | 265 | |
|
259 | 266 | changesets = @repository.latest_changesets('sources', 'tag_test.00') |
|
260 | 267 | assert_equal %w|4 3 2 1 0|, changesets.collect(&:revision) |
General Comments 0
You need to be logged in to leave comments.
Login now