@@ -137,8 +137,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
137 | end |
|
137 | end | |
138 |
|
138 | |||
139 | def test_show_directory_latin_1_path |
|
139 | def test_show_directory_latin_1_path | |
|
140 | assert_equal 0, @repository.changesets.count | |||
140 | @repository.fetch_changesets |
|
141 | @repository.fetch_changesets | |
141 |
@ |
|
142 | @project.reload | |
|
143 | assert_equal NUM_REV, @repository.changesets.count | |||
142 | [21, '21', 'adf805632193'].each do |r1| |
|
144 | [21, '21', 'adf805632193'].each do |r1| | |
143 | get :show, :id => PRJ_ID, :path => ['latin-1-dir'], :rev => r1 |
|
145 | get :show, :id => PRJ_ID, :path => ['latin-1-dir'], :rev => r1 | |
144 | assert_response :success |
|
146 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now