=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 PulpFileClient::PublicationsFileApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PublicationsFileApi' do before do # run before each test @api_instance = PulpFileClient::PublicationsFileApi.new end after do # run after each test end describe 'test an instance of PublicationsFileApi' do it 'should create an instance of PublicationsFileApi' do expect(@api_instance).to be_instance_of(PulpFileClient::PublicationsFileApi) end end # unit tests for create # Create a file publication # Trigger an asynchronous task to publish file content. # @param file_file_publication # @param [Hash] opts the optional parameters # @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 # unit tests for delete # Delete a file publication # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @param file_file_publication_href # @param [Hash] opts the optional parameters # @return [nil] describe 'delete 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 list # List file publications # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [String] :pulp_created pulp_created # @option opts [String] :pulp_created__gt pulp_created__gt # @option opts [String] :pulp_created__gte pulp_created__gte # @option opts [String] :pulp_created__lt pulp_created__lt # @option opts [String] :pulp_created__lte pulp_created__lte # @option opts [String] :pulp_created__range pulp_created__range # @option opts [String] :repository_version repository_version # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedfileFilePublicationResponseList] describe '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 read # Inspect a file publication # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API. # @param file_file_publication_href # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [FileFilePublicationResponse] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end