Sha256: 4ef49760c1c9324455920ce3ff2c8de0fe5b0fed5cc0cb8277123b126eae799d
Contents?: true
Size: 1.87 KB
Versions: 24
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.2.3 =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
24 entries across 24 versions & 1 rubygems