=begin #CRM Pipelines #Pipelines represent distinct stages in a workflow, like closing a deal or servicing a support ticket. These endpoints provide access to read and modify pipelines in HubSpot. Pipelines support `deals` and `tickets` object types. ## Pipeline ID validation When calling endpoints that take pipelineId as a parameter, that ID must correspond to an existing, un-archived pipeline. Otherwise the request will fail with a `404 Not Found` response. The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for Hubspot::Crm::Pipelines::PipelinesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PipelinesApi' do before do # run before each test @api_instance = Hubspot::Crm::Pipelines::PipelinesApi.new end after do # run after each test end describe 'test an instance of PipelinesApi' do it 'should create an instance of PipelinesApi' do expect(@api_instance).to be_instance_of(Hubspot::Crm::Pipelines::PipelinesApi) end end # unit tests for archive # Delete a pipeline # Delete the pipeline identified by `{pipelineId}`. # @param object_type # @param pipeline_id # @param [Hash] opts the optional parameters # @option opts [Boolean] :validate_references_before_delete # @return [nil] describe 'archive test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create # Create a pipeline # Create a new pipeline with the provided property values. The entire pipeline object, including its unique ID, will be returned in the response. # @param object_type # @param pipeline_input # @param [Hash] opts the optional parameters # @return [Pipeline] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_all # Retrieve all pipelines # Return all pipelines for the object type specified by `{objectType}`. # @param object_type # @param [Hash] opts the optional parameters # @return [CollectionResponsePipelineNoPaging] describe 'get_all test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_by_id # Return a pipeline by ID # Return a single pipeline object identified by its unique `{pipelineId}`. # @param object_type # @param pipeline_id # @param [Hash] opts the optional parameters # @return [Pipeline] describe 'get_by_id test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for replace # Replace a pipeline # Replace all the properties of an existing pipeline with the values provided. This will overwrite any existing pipeline stages. The updated pipeline will be returned in the response. # @param object_type # @param pipeline_id # @param pipeline_input # @param [Hash] opts the optional parameters # @option opts [Boolean] :validate_references_before_delete # @return [Pipeline] describe 'replace test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update # Update a pipeline # Perform a partial update of the pipeline identified by `{pipelineId}`. The updated pipeline will be returned in the response. # @param object_type # @param pipeline_id # @param pipeline_patch_input # @param [Hash] opts the optional parameters # @option opts [Boolean] :validate_references_before_delete # @return [Pipeline] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end