Sha256: 1bdbe4f137c0cbfb20da6942291ea971d2569ec628a709a7a897dde0219ea5c7
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
=begin Agrid Quotes API OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' # Unit tests for AgridClient::ServicesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ServicesApi' do before do # run before each test @instance = AgridClient::ServicesApi.new end after do # run after each test end describe 'test an instance of ServicesApi' do it 'should create an instact of ServicesApi' do @instance.should be_a(AgridClient::ServicesApi) end end # unit tests for services_get # # Returns all available services # @param [Hash] opts the optional parameters # @option opts [String] :city_id City ID to filter services by city # @option opts [String] :tag Tag to filter a subset of services # @return [Array<Service>] describe 'services_get test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
agrid-client-0.0.2 | spec/api/services_api_spec.rb |
agrid-client-0.0.1 | spec/api/services_api_spec.rb |