Sha256: 6a0368f99ea804398311648495d01574ec8e554f4e9f6525be4977f17fc541c8
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
=begin #Tripletex API OpenAPI spec version: 2.69.5 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.24 =end require 'spec_helper' require 'json' require 'date' # Unit tests for TripletexRubyClient::ValidationReasonDTO # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ValidationReasonDTO' do before do # run before each test @instance = TripletexRubyClient::ValidationReasonDTO.new end after do # run after each test end describe 'test an instance of ValidationReasonDTO' do it 'should create an instance of ValidationReasonDTO' do expect(@instance).to be_instance_of(TripletexRubyClient::ValidationReasonDTO) end end describe 'test attribute "status_type"' 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', ["SUCCESS", "INVALID", "WARNING", "MISSING_INFORMATION"]) # validator.allowable_values.each do |value| # expect { @instance.status_type = value }.not_to raise_error # end end end describe 'test attribute "error_code"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "reason"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "developer_reason"' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tripletex_ruby_client-1.0.12 | spec/models/validation_reason_dto_spec.rb |