=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 PulpcoreClient::GroupsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'GroupsApi' do before do # run before each test @api_instance = PulpcoreClient::GroupsApi.new end after do # run after each test end describe 'test an instance of GroupsApi' do it 'should create an instance of GroupsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::GroupsApi) end end # unit tests for groups_add_role # Add a role # Add a role for this object to users/groups. # @param group_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'groups_add_role 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 groups_create # Create a group # ViewSet for Group. # @param group # @param [Hash] opts the optional parameters # @return [GroupResponse] describe 'groups_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 groups_delete # Delete a group # ViewSet for Group. # @param group_href # @param [Hash] opts the optional parameters # @return [nil] describe 'groups_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 groups_list # List groups # ViewSet for Group. # @param [Hash] opts the optional parameters # @option opts [Integer] :id Filter results where id matches value # @option opts [Array] :id__in Filter results where id is in a comma-separated list of values # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name Filter results where name matches value # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :name__icontains Filter results where name contains value # @option opts [String] :name__iexact Filter results where name matches value # @option opts [Array] :name__in Filter results where name is in a comma-separated list of values # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering * `id` - Id * `-id` - Id (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [String] :q # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedGroupResponseList] describe 'groups_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 groups_list_roles # List roles # List roles assigned to this object. # @param group_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [ObjectRolesResponse] describe 'groups_list_roles 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 groups_my_permissions # List user permissions # List permissions available to the current user on this object. # @param group_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [MyPermissionsResponse] describe 'groups_my_permissions 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 groups_partial_update # Update a group # ViewSet for Group. # @param group_href # @param patched_group # @param [Hash] opts the optional parameters # @return [GroupResponse] describe 'groups_partial_update 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 groups_read # Inspect a group # ViewSet for Group. # @param group_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [GroupResponse] describe 'groups_read 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 groups_remove_role # Remove a role # Remove a role for this object from users/groups. # @param group_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'groups_remove_role 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 groups_update # Update a group # ViewSet for Group. # @param group_href # @param group # @param [Hash] opts the optional parameters # @return [GroupResponse] describe 'groups_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end