Update to rails 6.0.1
This commit is contained in:
parent
b6ecdb7507
commit
22cd2314e5
18 changed files with 236 additions and 110 deletions
|
@ -337,7 +337,7 @@ module Api
|
|||
assert_response :success
|
||||
assert_equal digest, Digest::MD5.hexdigest(response.body)
|
||||
assert_equal content_type, response.content_type
|
||||
assert_equal "attachment; filename=\"#{trace.id}.#{extension}\"", @response.header["Content-Disposition"]
|
||||
assert_equal "attachment; filename=\"#{trace.id}.#{extension}\"; filename*=UTF-8''#{trace.id}.#{extension}", @response.header["Content-Disposition"]
|
||||
end
|
||||
|
||||
##
|
||||
|
|
|
@ -737,7 +737,7 @@ class TracesControllerTest < ActionController::TestCase
|
|||
assert_response :success
|
||||
assert_equal digest, Digest::MD5.hexdigest(response.body)
|
||||
assert_equal content_type, response.content_type
|
||||
assert_equal "attachment; filename=\"#{trace.id}.#{extension}\"", @response.header["Content-Disposition"]
|
||||
assert_equal "attachment; filename=\"#{trace.id}.#{extension}\"; filename*=UTF-8''#{trace.id}.#{extension}", @response.header["Content-Disposition"]
|
||||
end
|
||||
|
||||
def check_trace_picture(trace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue