mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 14:40:53 +00:00
Add test case for the "json_mime?" method
This commit is contained in:
parent
4fdaeb7371
commit
ba48f8712d
@ -158,6 +158,7 @@ describe Petstore::ApiClient do
|
|||||||
|
|
||||||
api_client.json_mime?('application/xml').should == false
|
api_client.json_mime?('application/xml').should == false
|
||||||
api_client.json_mime?('text/plain').should == false
|
api_client.json_mime?('text/plain').should == false
|
||||||
|
api_client.json_mime?('application/jsonp').should == false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user