Test failure introduced in r16295 (#24199).

git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16305 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-01-30 17:36:49 +00:00
parent 0807506e18
commit b67a46302f

View File

@@ -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