From ba48f8712d53f910a847c8da6b158ff6efa28adb Mon Sep 17 00:00:00 2001 From: xhh Date: Wed, 9 Dec 2015 16:34:53 +0800 Subject: [PATCH] Add test case for the "json_mime?" method --- samples/client/petstore/ruby/spec/api_client_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/client/petstore/ruby/spec/api_client_spec.rb b/samples/client/petstore/ruby/spec/api_client_spec.rb index 054f63bc4ef..7b2478ea67c 100644 --- a/samples/client/petstore/ruby/spec/api_client_spec.rb +++ b/samples/client/petstore/ruby/spec/api_client_spec.rb @@ -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