@@ -232,7 +232,8 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
232 | else |
|
232 | else | |
233 | with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do |
|
233 | with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do | |
234 | ['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1| |
|
234 | ['57ca437c', '57ca437c0acbbcb749821fdf3726a1367056d364'].each do |r1| | |
235 | get :diff, :id => PRJ_ID, :rev => r1 |
|
235 | ['inline', 'sbs'].each do |dt| | |
|
236 | get :diff, :id => PRJ_ID, :rev => r1, :type => dt | |||
236 | assert_response :success |
|
237 | assert_response :success | |
237 | assert_template 'diff' |
|
238 | assert_template 'diff' | |
238 | assert_tag :tag => 'thead', |
|
239 | assert_tag :tag => 'thead', | |
@@ -253,6 +254,7 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
253 | end |
|
254 | end | |
254 | end |
|
255 | end | |
255 | end |
|
256 | end | |
|
257 | end | |||
256 |
|
258 | |||
257 | def test_annotate |
|
259 | def test_annotate | |
258 | get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] |
|
260 | get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] |
General Comments 0
You need to be logged in to leave comments.
Login now