forked from loafle/openapi-generator-original
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