Sha256: 0c170c86df98caf32630b3a96323ff552c61baf52b731f98b6d84bf17cbf041d
Contents?: true
Size: 1.66 KB
Versions: 1
Compression:
Stored size: 1.66 KB
Contents
=begin #Moderation API #API for automated content moderation The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for ModerationApi::ModerationObjectRequestValueDataValue # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe ModerationApi::ModerationObjectRequestValueDataValue do let(:instance) { ModerationApi::ModerationObjectRequestValueDataValue.new } describe 'test an instance of ModerationObjectRequestValueDataValue' do it 'should create an instance of ModerationObjectRequestValueDataValue' do # uncomment below to test the instance creation #expect(instance).to be_instance_of(ModerationApi::ModerationObjectRequestValueDataValue) end end describe 'test attribute "type"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["text", "image", "video", "audio", "unknown_default_open_api"]) # validator.allowable_values.each do |value| # expect { instance.type = value }.not_to raise_error # end end end describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end describe 'test attribute "model_ids"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moderation_api-1.2.2 | spec/models/moderation_object_request_value_data_value_spec.rb |