diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-05-05 01:01:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-05-05 01:01:29 +0000 |
commit | b0414ec1fbabfa8fa84e69eedcf7617fb969fd82 (patch) | |
tree | 9c3f633024197ef7756a40c584a25d6545944306 /test/functional/repositories_filesystem_controller_test.rb | |
parent | 569e1b37cc0893cd8b1015a6d12212b205f0fbdf (diff) | |
download | redmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.tar.gz redmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.zip |
route: scm: split entry and raw actions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_filesystem_controller_test.rb')
-rw-r--r-- | test/functional/repositories_filesystem_controller_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/repositories_filesystem_controller_test.rb b/test/functional/repositories_filesystem_controller_test.rb index dc9b98041..d6a29ffbf 100644 --- a/test/functional/repositories_filesystem_controller_test.rb +++ b/test/functional/repositories_filesystem_controller_test.rb @@ -78,8 +78,7 @@ class RepositoriesFilesystemControllerTest < ActionController::TestCase end def test_entry_download_no_extension - get :entry, :id => PRJ_ID, :path => repository_path_hash(['test'])[:param], - :format => 'raw' + get :raw, :id => PRJ_ID, :path => repository_path_hash(['test'])[:param] assert_response :success assert_equal 'application/octet-stream', @response.content_type end |