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