=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::ContentRolesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ContentRolesApi' do before do # run before each test @api_instance = PulpAnsibleClient::ContentRolesApi.new end after do # run after each test end describe 'test an instance of ContentRolesApi' do it 'should create an instance of ContentRolesApi' do expect(@api_instance).to be_instance_of(PulpAnsibleClient::ContentRolesApi) end end # unit tests for create # Create a role # ViewSet for Role. # @param ansible_role # @param [Hash] opts the optional parameters # @return [AnsibleRoleResponse] 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 list # List roles # ViewSet for Role. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name Filter results where name matches value # @option opts [String] :namespace Filter results where namespace matches value # @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] :repository_version Repository Version referenced by HREF # @option opts [String] :repository_version_added Repository Version referenced by HREF # @option opts [String] :repository_version_removed Repository Version referenced by HREF # @option opts [String] :version Filter results where version matches value # @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 [PaginatedansibleRoleResponseList] 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 role # ViewSet for Role. # @param ansible_role_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 [AnsibleRoleResponse] 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