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:
parent
6ae8c965f3
commit
6d14a8dc77
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user