@@ -234,8 +234,10 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
234 | end |
|
234 | end | |
235 |
|
235 | |||
236 | def test_format_identifier |
|
236 | def test_format_identifier | |
|
237 | assert_equal 0, @repository.changesets.count | |||
237 | @repository.fetch_changesets |
|
238 | @repository.fetch_changesets | |
238 |
@ |
|
239 | @project.reload | |
|
240 | assert_equal NUM_REV, @repository.changesets.count | |||
239 | c = @repository.changesets.find_by_revision('2') |
|
241 | c = @repository.changesets.find_by_revision('2') | |
240 | assert_equal '2:400bb8672109', c.format_identifier |
|
242 | assert_equal '2:400bb8672109', c.format_identifier | |
241 | end |
|
243 | end |
General Comments 0
You need to be logged in to leave comments.
Login now