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