Sha256: f7448fc0d31b42821432ab146d1576e8f9fb32fb8aa1f86e7b226e56bdbfc667

Contents?: true

Size: 1.46 KB

Versions: 12

Compression:

Stored size: 1.46 KB

Contents

=begin
#CMS Source Code

#Endpoints for interacting with files in the CMS Developer File System. These files include HTML templates, CSS, JS, modules, and other assets which are used to create CMS content.

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::Cms::SourceCode::ValidationApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ValidationApi' do
  before do
    # run before each test
    @api_instance = Hubspot::Cms::SourceCode::ValidationApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ValidationApi' do
    it 'should create an instance of ValidationApi' do
      expect(@api_instance).to be_instance_of(Hubspot::Cms::SourceCode::ValidationApi)
    end
  end

  # unit tests for do_validate
  # Validate the contents of a file
  # Validates the file contents passed to the endpoint given a specified path and environment. Accepts multipart/form-data content type.
  # @param path The file system location of the file.
  # @param [Hash] opts the optional parameters
  # @option opts [File] :file The file to validate.
  # @return [Error]
  describe 'do_validate test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hubspot-api-client-14.5.2 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.5.1 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.5.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.4.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.3.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.2.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.1.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-14.0.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-13.2.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-13.1.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-13.0.0 spec/codegen/cms/source-code/api/validation_api_spec.rb
hubspot-api-client-12.0.0 spec/codegen/cms/source-code/api/validation_api_spec.rb