Sha256: 1b6c17d7ad8ed04d91e8d737f238ff38454da98591b59f01fd0ff31d30cc204a

Contents?: true

Size: 1.56 KB

Versions: 14

Compression:

Stored size: 1.56 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.26

=end

require 'spec_helper'
require 'json'

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

  after do
    # run after each test
  end

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

  # unit tests for user_self
  # Provide a brief for the current user (if any).
  # Provide a brief for the current user (if any).
  # @param [Hash] opts the optional parameters
  # @return [UserBrief]
  describe 'user_self 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 user_token_create
  # Retrieve the API key/token for the authenticated user.
  # Retrieve the API key/token for the authenticated user.
  # @param [Hash] opts the optional parameters
  # @option opts [UserAuthTokenRequest] :data 
  # @return [UserAuthToken]
  describe 'user_token_create 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

14 entries across 14 versions & 1 rubygems

Version Path
cloudsmith-api-2.0.13 spec/api/user_api_spec.rb
cloudsmith-api-2.0.12 spec/api/user_api_spec.rb
cloudsmith-api-2.0.11 spec/api/user_api_spec.rb
cloudsmith-api-2.0.10 spec/api/user_api_spec.rb
cloudsmith-api-2.0.9 spec/api/user_api_spec.rb
cloudsmith-api-2.0.8 spec/api/user_api_spec.rb
cloudsmith-api-2.0.7 spec/api/user_api_spec.rb
cloudsmith-api-2.0.6 spec/api/user_api_spec.rb
cloudsmith-api-2.0.5 spec/api/user_api_spec.rb
cloudsmith-api-2.0.4 spec/api/user_api_spec.rb
cloudsmith-api-2.0.3 spec/api/user_api_spec.rb
cloudsmith-api-2.0.2 spec/api/user_api_spec.rb
cloudsmith-api-2.0.1 spec/api/user_api_spec.rb
cloudsmith-api-2.0.0 spec/api/user_api_spec.rb