diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-22 16:56:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-22 16:56:52 +0000 |
commit | f15b12556f01be2eca445f13bed33ce463146ed6 (patch) | |
tree | 2c299c76dbaf1d3f7a57b46d120e09511a7eca7d /test/functional/repositories_mercurial_controller_test.rb | |
parent | cb297048df58141f7d0f21c996603c850ae51d2e (diff) | |
download | redmine-f15b12556f01be2eca445f13bed33ce463146ed6.tar.gz redmine-f15b12556f01be2eca445f13bed33ce463146ed6.zip |
scm: set mime type in downloading file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_mercurial_controller_test.rb')
-rw-r--r-- | test/functional/repositories_mercurial_controller_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb index 8247bcb00..0c638df12 100644 --- a/test/functional/repositories_mercurial_controller_test.rb +++ b/test/functional/repositories_mercurial_controller_test.rb @@ -222,8 +222,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase def test_entry_binary_force_download get :entry, :id => PRJ_ID, :rev => 1, :path => ['images', 'edit.png'] assert_response :success - # TODO: 'image/png' - assert_equal 'application/octet-stream', @response.content_type + assert_equal 'image/png', @response.content_type end def test_directory_entry |