@@ -271,8 +271,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
271 | end |
|
271 | end | |
272 |
|
272 | |||
273 | def test_diff |
|
273 | def test_diff | |
|
274 | assert_equal 0, @repository.changesets.count | |||
274 | @repository.fetch_changesets |
|
275 | @repository.fetch_changesets | |
275 |
@ |
|
276 | @project.reload | |
|
277 | assert_equal NUM_REV, @repository.changesets.count | |||
276 | [4, '4', 'def6d2f1254a'].each do |r1| |
|
278 | [4, '4', 'def6d2f1254a'].each do |r1| | |
277 | # Full diff of changeset 4 |
|
279 | # Full diff of changeset 4 | |
278 | ['inline', 'sbs'].each do |dt| |
|
280 | ['inline', 'sbs'].each do |dt| |
General Comments 0
You need to be logged in to leave comments.
Login now