Sha256: e61eb524387214a60f7be661bcc8a339f20990250f6249982250c3094f9fce49

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 KB

Contents

=begin
#Pulp 3 API

#Fetch, Upload, Organize, and Distribute Software Packages

The version of the OpenAPI document: v3
Contact: pulp-list@redhat.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1

=end

require 'spec_helper'
require 'json'

# Unit tests for PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'PulpAnsibleGalaxyApiV3CollectionsApi' do
  before do
    # run before each test
    @api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of PulpAnsibleGalaxyApiV3CollectionsApi' do
    it 'should create an instance of PulpAnsibleGalaxyApiV3CollectionsApi' do
      expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi)
    end
  end

  # unit tests for create
  # Upload a collection
  # Create an artifact and trigger an asynchronous task to create Collection content from it.
  # @param path 
  # @param file The Collection tarball.
  # @param [Hash] opts the optional parameters
  # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
  # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
  # @option opts [String] :expected_name The expected 'name' 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pulp_ansible_client-0.7.6 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
pulp_ansible_client-0.5.11 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
pulp_ansible_client-0.7.5 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
pulp_ansible_client-0.7.4 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
pulp_ansible_client-0.5.10 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
pulp_ansible_client-0.8.1 spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb