##// END OF EJS Templates
scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff_latin_1_path test....
Toshi MARUYAMA -
r5865:901a93705391
parent child
Show More
@@ -302,7 +302,8 class RepositoriesMercurialControllerTest < ActionController::TestCase
302 def test_diff_latin_1_path
302 def test_diff_latin_1_path
303 with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do
303 with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do
304 [21, 'adf805632193'].each do |r1|
304 [21, 'adf805632193'].each do |r1|
305 get :diff, :id => PRJ_ID, :rev => r1
305 ['inline', 'sbs'].each do |dt|
306 get :diff, :id => PRJ_ID, :rev => r1, :type => dt
306 assert_response :success
307 assert_response :success
307 assert_template 'diff'
308 assert_template 'diff'
308 assert_tag :tag => 'thead',
309 assert_tag :tag => 'thead',
@@ -322,6 +323,7 class RepositoriesMercurialControllerTest < ActionController::TestCase
322 end
323 end
323 end
324 end
324 end
325 end
326 end
325
327
326 def test_annotate
328 def test_annotate
327 get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb']
329 get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb']
General Comments 0
You need to be logged in to leave comments. Login now