summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-30 17:36:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-30 17:36:49 +0000
commitb67a46302f13c00b863a54d3876ba81aecd5a2c8 (patch)
treeadb1018ca7f03d5b33e506e9824af3190945993c
parent0807506e18b8e7f2fdee0dfe75f4bb969559d897 (diff)
downloadredmine-b67a46302f13c00b863a54d3876ba81aecd5a2c8.tar.gz
redmine-b67a46302f13c00b863a54d3876ba81aecd5a2c8.zip
Test failure introduced in r16295 (#24199).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16305 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/repositories_subversion_controller_test.rb4
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 d801040f0..40a03ba06 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -183,11 +183,11 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
end
end
- def test_entry_should_send_images_inline
+ def test_entry_should_send_images_as_attachment
get :entry, :id => PRJ_ID,
:path => repository_path_hash(['subversion_test', 'folder', 'subfolder', 'rubylogo.gif'])[:param]
assert_response :success
- assert_equal 'inline; filename="rubylogo.gif"', response.headers['Content-Disposition']
+ assert_equal 'attachment; filename="rubylogo.gif"', response.headers['Content-Disposition']
end
def test_entry_at_given_revision