=begin #Cloudsmith API #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::OrgsInvitesCreate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrgsInvitesCreate' do before do # run before each test @instance = CloudsmithApi::OrgsInvitesCreate.new end after do # run after each test end describe 'test an instance of OrgsInvitesCreate' do it 'should create an instance of OrgsInvitesCreate' do expect(@instance).to be_instance_of(CloudsmithApi::OrgsInvitesCreate) 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 "inviter"' 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 "slug_perm"' 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