diff options
Diffstat (limited to 'test/integration/api_test')
-rw-r--r-- | test/integration/api_test/attachments_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/attachments_test.rb b/test/integration/api_test/attachments_test.rb index d4b483527..0f7e6ebdb 100644 --- a/test/integration/api_test/attachments_test.rb +++ b/test/integration/api_test/attachments_test.rb @@ -65,7 +65,7 @@ class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base test "GET /attachments/download/:id/:filename should return the attachment content" do get '/attachments/download/7/archive.zip', {}, credentials('jsmith') assert_response :success - assert_equal 'application/octet-stream', @response.content_type + assert_equal 'application/zip', @response.content_type set_tmp_attachments_directory end |