Sha256: f031b2771128f3781264c61c31fec5af0dac242514960aac56b5b163021a40f0

Contents?: true

Size: 1.56 KB

Versions: 1

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.43

=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/Create API key/token for the authenticated user.
  # Retrieve/Create 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

1 entries across 1 versions & 1 rubygems

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