=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::CompaniesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CompaniesApi' do before do # run before each test @instance = AgridClient::CompaniesApi.new end after do # run after each test end describe 'test an instance of CompaniesApi' do it 'should create an instact of CompaniesApi' do @instance.should be_a(AgridClient::CompaniesApi) end end # unit tests for get_companies # # Return a set of companies. # @param service_id Service ID # @param [Hash] opts the optional parameters # @option opts [Integer] :offset Number to skip rows before beginning to return companies # @option opts [Integer] :limit Limit number of companies on response(default is 12) # @return [InlineResponse200] describe 'get_companies test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end # unit tests for get_company # # Return data of a specific company # @param id Company ID # @param [Hash] opts the optional parameters # @return [Company] describe 'get_company test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end end