Sha256: af14296d009aa29acf752c3c3eb0bab3395c83a18559898a2bbc716fc20142f1
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 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::NamespacesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NamespacesApi' do before do # run before each test @instance = CloudsmithApi::NamespacesApi.new end after do # run after each test end describe 'test an instance of NamespacesApi' do it 'should create an instance of NamespacesApi' do expect(@instance).to be_instance_of(CloudsmithApi::NamespacesApi) end end # unit tests for namespaces_list # Get a list of all namespaces the user belongs to. # Get a list of all namespaces the user belongs to. # @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<Namespace>] describe 'namespaces_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 namespaces_read # Get a specific namespace that the user belongs to. # Get a specific namespace that the user belongs to. # @param slug # @param [Hash] opts the optional parameters # @return [Namespace] describe 'namespaces_read 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudsmith-api-2.0.15 | spec/api/namespaces_api_spec.rb |
cloudsmith-api-2.0.14 | spec/api/namespaces_api_spec.rb |