diff --git a/samples/client/petstore/ruby/spec/spec_helper.rb b/samples/client/petstore/ruby/spec/spec_helper.rb index f8e5992a342..b8ba0f73975 100644 --- a/samples/client/petstore/ruby/spec/spec_helper.rb +++ b/samples/client/petstore/ruby/spec/spec_helper.rb @@ -36,11 +36,7 @@ end # help #end -API_CLIENT = Petstore::ApiClient.new do |config| - config.api_key['api_key'] = 'special-key' - config.host = 'petstore.swagger.io' - config.base_path = '/v2' -end +API_CLIENT = Petstore::ApiClient.new # always delete and then re-create the pet object with 10002 def prepare_pet(pet_api)