Sha256: f18c504a5c94079eda003e0f8e09d45fe2a65be92d098340e2d2451ea4645c42

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

=begin
#Cloudsmith API (v1)

#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.4.43

=end

require 'spec_helper'
require 'json'

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

  after do
    # run after each test
  end

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

  # unit tests for namespaces_list
  # Get a list of all namespaces the user belongs to.
  # Get a list of all namespaces the user belongs to.
  # @param [Hash] opts the optional parameters
  # @option opts [Integer] :page A page number within the paginated result set.
  # @option opts [Integer] :page_size Number of results to return per page.
  # @return [Array<Namespace>]
  describe 'namespaces_list 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 namespaces_read
  # Get a specific namespace that the user belongs to.
  # Get a specific namespace that the user belongs to.
  # @param slug 
  # @param [Hash] opts the optional parameters
  # @return [Namespace]
  describe 'namespaces_read 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

1 entries across 1 versions & 1 rubygems

Version Path
cloudsmith-api-2.0.16 spec/api/namespaces_api_spec.rb