Sha256: 8659074951137b50403493b2c96087ebb489f553ac355269aabd1339be7059a5

Contents?: true

Size: 2 KB

Versions: 3

Compression:

Stored size: 2 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.3.1

=end

require 'spec_helper'
require 'json'

# Unit tests for PulpcoreClient::GroupsModelPermissionsApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'GroupsModelPermissionsApi' do
  before do
    # run before each test
    @api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of GroupsModelPermissionsApi' do
    it 'should create an instance of GroupsModelPermissionsApi' do
      expect(@api_instance).to be_instance_of(PulpcoreClient::GroupsModelPermissionsApi)
    end
  end

  # unit tests for create
  # Create a permission
  # Add a model permission to a group.
  # @param auth_auth_groups_permission_href 
  # @param body 
  # @param [Hash] opts the optional parameters
  # @return [PermissionResponse]
  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 permissions
  # List group permissions.
  # @param auth_group_href 
  # @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] :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 [InlineResponse2005]
  describe 'list 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

3 entries across 3 versions & 1 rubygems

Version Path
pulpcore_client-3.7.9 spec/api/groups_model_permissions_api_spec.rb
pulpcore_client-3.7.8 spec/api/groups_model_permissions_api_spec.rb
pulpcore_client-3.7.7 spec/api/groups_model_permissions_api_spec.rb