Sha256: 2878056499b403c426603762260e3dc89597806e8ee4eec5bc8e7e551fda6855
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 KB
Contents
=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::OrgsTeamsCreate # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrgsTeamsCreate' do before do # run before each test @instance = CloudsmithApi::OrgsTeamsCreate.new end after do # run after each test end describe 'test an instance of OrgsTeamsCreate' do it 'should create an instance of OrgsTeamsCreate' do expect(@instance).to be_instance_of(CloudsmithApi::OrgsTeamsCreate) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudsmith-api-1.142.3 | spec/models/orgs_teams_create_spec.rb |
cloudsmith-api-1.120.3 | spec/models/orgs_teams_create_spec.rb |