@@ -326,13 +326,13 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
326 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' |
|
326 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' | |
327 | assert_response :success |
|
327 | assert_response :success | |
328 | assert @response.body.include?("... This diff was truncated") |
|
328 | assert @response.body.include?("... This diff was truncated") | |
329 |
|
329 | with_settings :default_language => 'fr' do | ||
330 | Setting.default_language = 'fr' |
|
330 | get :diff, :id => PRJ_ID, :type => 'inline', | |
331 | get :diff, :id => PRJ_ID, :type => 'inline', |
|
331 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' | |
332 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' |
|
332 | assert_response :success | |
333 | assert_response :success |
|
333 | assert ! @response.body.include?("... This diff was truncated") | |
334 |
assert |
|
334 | assert @response.body.include?("... Ce diff") | |
335 | assert @response.body.include?("... Ce diff") |
|
335 | end | |
336 | end |
|
336 | end | |
337 | end |
|
337 | end | |
338 | end |
|
338 | end |
General Comments 0
You need to be logged in to leave comments.
Login now