Sha256: 3d83659a781c5850c1fb7574dac1e1236e65bcd7006eb683d69baef62ce7bb3b
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
=begin #Sematext Cloud API #API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. OpenAPI spec version: v3 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.25 =end require 'spec_helper' require 'json' require 'date' # Unit tests for stcloud::BasicOrganizationDto # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'BasicOrganizationDto' do before do # run before each test @instance = stcloud::BasicOrganizationDto.new end after do # run after each test end describe 'test an instance of BasicOrganizationDto' do it 'should create an instance of BasicOrganizationDto' do expect(@instance).to be_instance_of(stcloud::BasicOrganizationDto) end end describe 'test attribute "auth_methods"' 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 "status"' 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', ["ACTIVE", "IN_REGISTRATION", "DISABLED", "EXPIRED", "INVITED", "DEMO"]) # validator.allowable_values.each do |value| # expect { @instance.status = value }.not_to raise_error # end end end describe 'test attribute "uuid"' 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 |
---|---|
SematextCloud-0.3.1 | spec/models/basic_organization_dto_spec.rb |
SematextCloud-0.3.0 | spec/models/basic_organization_dto_spec.rb |