Sha256: ff9b1852ddb042faf41b9a96700dcfbcfe65ae6c271cf56404130786bfcf2614
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 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::CitiesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CitiesApi' do before do # run before each test @instance = AgridClient::CitiesApi.new end after do # run after each test end describe 'test an instance of CitiesApi' do it 'should create an instact of CitiesApi' do @instance.should be_a(AgridClient::CitiesApi) end end # unit tests for cities_get # # Returns all cities supported by at least one company # @param [Hash] opts the optional parameters # @option opts [String] :state State acronym to filter cities by state # @return [Array<CityWithFullState>] describe 'cities_get test' do it "should work" do VCR.use_cassette('cities') do expect(@instance.cities_get).to be_a(Array) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
agrid-client-0.0.2 | spec/api/cities_api_spec.rb |
agrid-client-0.0.1 | spec/api/cities_api_spec.rb |