Sha256: 6f4e1eead79c24de3fae937850ca8db186250d9015ec731a37b06da221f03427

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 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.2.3

=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 [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

1 entries across 1 versions & 1 rubygems

Version Path
pulpcore_client-3.6.0 spec/api/groups_model_permissions_api_spec.rb