=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] 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