Sha256: 03850bbb7ed20135d9589255507469c8538476247df5196390e23aa2933adec3
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 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::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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
agrid-client-0.0.2 | spec/api/companies_api_spec.rb |
agrid-client-0.0.1 | spec/api/companies_api_spec.rb |