Sha256: 367cce1c7dcdf7af1c65c0a37a462d68f45d02f37f791ebc0478bd889a15c943
Contents?: true
Size: 1.82 KB
Versions: 1
Compression:
Stored size: 1.82 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.43 =end require 'spec_helper' require 'json' require 'date' # Unit tests for CloudsmithApi::OrganizationTeamRequestPatch # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrganizationTeamRequestPatch' do before do # run before each test @instance = CloudsmithApi::OrganizationTeamRequestPatch.new end after do # run after each test end describe 'test an instance of OrganizationTeamRequestPatch' do it 'should create an instance of OrganizationTeamRequestPatch' do expect(@instance).to be_instance_of(CloudsmithApi::OrganizationTeamRequestPatch) end end describe 'test attribute "description"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "slug"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "visibility"' 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', ["Visible", "Hidden"]) # validator.allowable_values.each do |value| # expect { @instance.visibility = value }.not_to raise_error # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cloudsmith-api-2.0.16 | spec/models/organization_team_request_patch_spec.rb |