=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::QuotesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'QuotesApi' do before do # run before each test @instance = AgridClient::QuotesApi.new end after do # run after each test end describe 'test an instance of QuotesApi' do it 'should create an instact of QuotesApi' do @instance.should be_a(AgridClient::QuotesApi) end end # unit tests for quotes_id_get # # Returns a specific quote # @param id Param to filter company using id # @param [Hash] opts the optional parameters # @return [Quote] describe 'quotes_id_get test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end # unit tests for services_service_id_quotes_get # # Returns a set of quotes. # @param service_id Param to filter quotes by service # @param [Hash] opts the optional parameters # @option opts [String] :company_id Param to filter quotes by company # @option opts [String] :city_id Param to filter quotes by city # @option opts [Integer] :limit Limit number of quotes on response(default is 12) # @option opts [Integer] :offset Number to skip rows before beginning to return quotes # @option opts [Array] :filter_categories Example: <br> filter_categories[:filter_id][]=:filter_category_id&filter_categories[:filter_id][]=:filter_category_id <br><br> :filter_id is the id of filter<br> :filter_category_id is the id of filter category # @option opts [Float] :min_price Param to filter quotes with price is at least equal to :min_price # @option opts [Float] :max_price Param to filter quotes with price is at most equal to :max_price # @return [InlineResponse2001] describe 'services_service_id_quotes_get test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end end