Sha256: ae313ed14095c9f06522d75fd720949f4b1b72a3d4cb988a41c77dfcf182df8e
Contents?: true
Size: 1.81 KB
Versions: 2
Compression:
Stored size: 1.81 KB
Contents
=begin #Cloudsmith API (v1) #The API to the Cloudsmith Service OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.26 =end require 'spec_helper' require 'json' require 'date' # Unit tests for CloudsmithApi::OrganizationInviteRequest # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrganizationInviteRequest' do before do # run before each test @instance = CloudsmithApi::OrganizationInviteRequest.new end after do # run after each test end describe 'test an instance of OrganizationInviteRequest' do it 'should create an instance of OrganizationInviteRequest' do expect(@instance).to be_instance_of(CloudsmithApi::OrganizationInviteRequest) end end describe 'test attribute "email"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "role"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Owner", "Manager", "Member", "Collaborator"]) # validator.allowable_values.each do |value| # expect { @instance.role = value }.not_to raise_error # end end end describe 'test attribute "teams"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "user"' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudsmith-api-2.0.15 | spec/models/organization_invite_request_spec.rb |
cloudsmith-api-2.0.14 | spec/models/organization_invite_request_spec.rb |