Add test case for the "json_mime?" method

This commit is contained in:
xhh 2015-12-09 16:34:53 +08:00
parent 4fdaeb7371
commit ba48f8712d

View File

@ -158,6 +158,7 @@ describe Petstore::ApiClient do
api_client.json_mime?('application/xml').should == false
api_client.json_mime?('text/plain').should == false
api_client.json_mime?('application/jsonp').should == false
end
end