@@ -92,7 +92,7 class RepositoriesFilesystemControllerTest < ActionController::TestCase | |||||
92 | with_settings :file_max_size_displayed => 1 do |
|
92 | with_settings :file_max_size_displayed => 1 do | |
93 | get :entry, :id => PRJ_ID, :path => ['japanese', 'big-file.txt'] |
|
93 | get :entry, :id => PRJ_ID, :path => ['japanese', 'big-file.txt'] | |
94 | assert_response :success |
|
94 | assert_response :success | |
95 |
# TODO: ' |
|
95 | # TODO: 'text/plain' | |
96 | assert_equal 'application/octet-stream', @response.content_type |
|
96 | assert_equal 'application/octet-stream', @response.content_type | |
97 | end |
|
97 | end | |
98 | end |
|
98 | end |
General Comments 0
You need to be logged in to leave comments.
Login now