1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(quality) use Mime module

This commit is contained in:
Sylvain 2023-03-02 13:39:23 +01:00
parent 6ae8c965f3
commit 6d14a8dc77

View File

@ -43,7 +43,7 @@ class ActiveSupport::TestCase
end
def upload_headers
{ 'Accept' => Mime[:json], 'Content-Type' => 'multipart/form-data' }
{ 'Accept' => Mime[:json], 'Content-Type' => Mime[:multipart_form].to_s }
end
def open_api_headers(token)