diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-20 17:17:08 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-20 17:17:08 +0000 |
commit | f9b5543075305a88205485da7128bafa79e6d13f (patch) | |
tree | 7dc511675aacf461aba4bd170285712f00ff6e60 | |
parent | 3e4d4a0c1af00542dd9f794c452df6614fc7e840 (diff) | |
download | redmine-f9b5543075305a88205485da7128bafa79e6d13f.tar.gz redmine-f9b5543075305a88205485da7128bafa79e6d13f.zip |
fix svn raw diff failure on svn version 1.6.17 (revision 1128011)
git-svn-id: http://svn.redmine.org/redmine/trunk@12424 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/repositories_subversion_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 9ca427549..076a2cb51 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -326,10 +326,10 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase @project.reload assert_equal NUM_REV, @repository.changesets.count - get :diff, :id => PRJ_ID, :rev => 3, :format => 'diff' + get :diff, :id => PRJ_ID, :rev => 5, :format => 'diff' assert_response :success assert_equal 'text/x-patch', @response.content_type - assert_equal 'Index: subversion_test/textfile.txt', @response.body.split(/\r?\n/).first + assert_equal 'Index: subversion_test/folder/greeter.rb', @response.body.split(/\r?\n/).first end def test_directory_diff |