=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::ReposApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ReposApi' do before do # run before each test @instance = CloudsmithApi::ReposApi.new end after do # run after each test end describe 'test an instance of ReposApi' do it 'should create an instance of ReposApi' do expect(@instance).to be_instance_of(CloudsmithApi::ReposApi) end end # unit tests for repos_create # Create a new repository in a given namespace. # Create a new repository in a given namespace. # @param owner # @param [Hash] opts the optional parameters # @option opts [RepositoryCreateRequest] :data # @return [RepositoryCreate] describe 'repos_create 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 repos_delete # Delete a repository in a given namespace. # Delete a repository in a given namespace. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [nil] describe 'repos_delete 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 repos_gpg_create # Set the active GPG key for the Repository. # Set the active GPG key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @option opts [RepositoryGpgKeyCreate] :data # @return [RepositoryGpgKey] describe 'repos_gpg_create 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 repos_gpg_list # Retrieve the active GPG key for the Repository. # Retrieve the active GPG key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [RepositoryGpgKey] describe 'repos_gpg_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 repos_gpg_regenerate # Regenerate GPG Key for the Repository. # Regenerate GPG Key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [RepositoryGpgKey] describe 'repos_gpg_regenerate 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 repos_namespace_list # Get a list of all repositories within a namespace. # Get a list of all repositories within a namespace. # @param owner # @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] describe 'repos_namespace_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 repos_partial_update # Update details about a repository in a given namespace. # Update details about a repository in a given namespace. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @option opts [RepositoryRequestPatch] :data # @return [Repository] describe 'repos_partial_update 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 repos_privileges_list # List all explicity created privileges for the repository. # List all explicity created privileges for the repository. # @param owner # @param identifier # @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 [RepositoryPrivilegeInput] describe 'repos_privileges_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 repos_privileges_partial_update # Modify privileges for the repository. # Modify privileges for the repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @option opts [RepositoryPrivilegeInputRequestPatch] :data # @return [nil] describe 'repos_privileges_partial_update 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 repos_privileges_update # Replace all existing repository privileges with those specified. # Replace all existing repository privileges with those specified. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @option opts [RepositoryPrivilegeInputRequest] :data # @return [nil] describe 'repos_privileges_update 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 repos_read # Get a specific repository. # Get a specific repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [Repository] describe 'repos_read 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 repos_rsa_create # Set the active RSA key for the Repository. # Set the active RSA key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @option opts [RepositoryRsaKeyCreate] :data # @return [RepositoryRsaKey] describe 'repos_rsa_create 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 repos_rsa_list # Retrieve the active RSA key for the Repository. # Retrieve the active RSA key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [RepositoryRsaKey] describe 'repos_rsa_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 repos_rsa_regenerate # Regenerate RSA Key for the Repository. # Regenerate RSA Key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [RepositoryRsaKey] describe 'repos_rsa_regenerate 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 repos_user_list # Get a list of all repositories associated with current user. # Get a list of all repositories associated with current user. # @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] describe 'repos_user_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end