=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