Sha256: d43ea11936558efe0a06dba1572cfdef392fd7c178fb22aa3bfb1b2172516d96
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
=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.0.0 =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 upload_collection # Upload a collection # Create an artifact and trigger an asynchronous task to create Collection content from it. # @param file The Collection tarball. # @param [Hash] opts the optional parameters # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file. # @return [AsyncOperationResponse] describe 'upload_collection 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pulp_ansible_client-0.2.0b1 | spec/api/ansible_collections_api_spec.rb |