=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.1.3-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for PulpAnsibleClient::AnsibleCollectionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AnsibleCollectionsApi' do before do # run before each test @api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new end after do # run after each test end describe 'test an instance of AnsibleCollectionsApi' do it 'should create an instance of AnsibleCollectionsApi' do expect(@api_instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionsApi) end end # unit tests for create # Create a collection version # Trigger an asynchronous task to create content,optionally create new repository version. # @param relative_path Path where the artifact is located relative to distributions base_path # @param [Hash] opts the optional parameters # @option opts [String] :artifact Artifact file representing the physical content # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit. # @option opts [String] :repository A URI of a repository the new content unit should be associated with. # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import. # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import. # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import. # @return [AsyncOperationResponse] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end