Sha256: 4d07de4ba8bcfb60965dedcbe31fb44cb97d52118bced288fe2c0d239c0af45f

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

=begin
#Cloudsmith API

#The API to the Cloudsmith Service

OpenAPI spec version: v1
Contact: support@cloudsmith.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.2.3

=end

require 'spec_helper'
require 'json'

# Unit tests for CloudsmithApi::FilesApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'FilesApi' do
  before do
    # run before each test
    @instance = CloudsmithApi::FilesApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of FilesApi' do
    it 'should create an instance of FilesApi' do
      expect(@instance).to be_instance_of(CloudsmithApi::FilesApi)
    end
  end

  # unit tests for files_create
  # Request URL(s) to POST new package file upload(s) to.
  # Request URL(s) to POST new package file upload(s) to.
  # @param owner 
  # @param repo 
  # @param [Hash] opts the optional parameters
  # @option opts [FilesCreate] :data 
  # @return [PackageFileUpload]
  describe 'files_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 files_validate
  # Validate parameters used for create.
  # Validate parameters used for create.
  # @param owner 
  # @param repo 
  # @param [Hash] opts the optional parameters
  # @option opts [FilesValidate] :data 
  # @return [nil]
  describe 'files_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

2 entries across 2 versions & 1 rubygems

Version Path
cloudsmith-api-0.30.7 spec/api/files_api_spec.rb
cloudsmith-api-0.21.4 spec/api/files_api_spec.rb