Sha256: 76aee27f4814975f585c1bd1bb0332aae02968873817e5952c96c582d9031b5d

Contents?: true

Size: 1.55 KB

Versions: 27

Compression:

Stored size: 1.55 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::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 [UserTokenCreate] :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

27 entries across 27 versions & 1 rubygems

Version Path
cloudsmith-api-1.30.0 spec/api/user_api_spec.rb
cloudsmith-api-0.57.1 spec/api/user_api_spec.rb
cloudsmith-api-0.54.15 spec/api/user_api_spec.rb
cloudsmith-api-0.53.79 spec/api/user_api_spec.rb
cloudsmith-api-0.53.17 spec/api/user_api_spec.rb
cloudsmith-api-0.53.3 spec/api/user_api_spec.rb
cloudsmith-api-0.53.1 spec/api/user_api_spec.rb
cloudsmith-api-0.52.121 spec/api/user_api_spec.rb
cloudsmith-api-0.52.92 spec/api/user_api_spec.rb
cloudsmith-api-0.52.79 spec/api/user_api_spec.rb
cloudsmith-api-0.52.5 spec/api/user_api_spec.rb
cloudsmith-api-0.52.0 spec/api/user_api_spec.rb
cloudsmith-api-0.51.93 spec/api/user_api_spec.rb
cloudsmith-api-0.51.38 spec/api/user_api_spec.rb
cloudsmith-api-0.51.37 spec/api/user_api_spec.rb
cloudsmith-api-0.51.34 spec/api/user_api_spec.rb
cloudsmith-api-0.51.22 spec/api/user_api_spec.rb
cloudsmith-api-0.49.118 spec/api/user_api_spec.rb
cloudsmith-api-0.49.98 spec/api/user_api_spec.rb
cloudsmith-api-0.49.94 spec/api/user_api_spec.rb