##// END OF EJS Templates
Merged r10498 from trunk...
Toshi MARUYAMA -
r10290:2d34ab923561
parent child
Show More
@@ -53,8 +53,6 class RepositoriesGitControllerTest < ActionController::TestCase
53 53 if @char_1.respond_to?(:force_encoding)
54 54 @char_1.force_encoding('UTF-8')
55 55 end
56
57 Setting.default_language = 'en'
58 56 end
59 57
60 58 def test_create_and_update
@@ -320,10 +318,12 class RepositoriesGitControllerTest < ActionController::TestCase
320 318 with_settings :diff_max_lines_displayed => 5 do
321 319 # Truncated diff of changeset 2f9c0091
322 320 with_cache do
321 with_settings :default_language => 'en' do
323 322 get :diff, :id => PRJ_ID, :type => 'inline',
324 323 :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7'
325 324 assert_response :success
326 325 assert @response.body.include?("... This diff was truncated")
326 end
327 327 with_settings :default_language => 'fr' do
328 328 get :diff, :id => PRJ_ID, :type => 'inline',
329 329 :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7'
General Comments 0
You need to be logged in to leave comments. Login now