@@ -100,8 +100,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
100 | 100 | end |
|
101 | 101 | |
|
102 | 102 | def test_show_at_given_revision |
|
103 | assert_equal 0, @repository.changesets.count | |
|
103 | 104 | @repository.fetch_changesets |
|
104 |
@ |
|
|
105 | @project.reload | |
|
106 | assert_equal NUM_REV, @repository.changesets.count | |
|
105 | 107 | [0, '0', '0885933ad4f6'].each do |r1| |
|
106 | 108 | get :show, :id => PRJ_ID, :path => ['images'], :rev => r1 |
|
107 | 109 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now