summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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