Sha256: fefed994996c65361795b6549bf0ba239a9944267e874b8453ce35004337396b
Contents?: true
Size: 1.95 KB
Versions: 7
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: 2.4.12 =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
7 entries across 7 versions & 1 rubygems